Not able to Upload Image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Not able to Upload Image

shyam.panjiyar
Response headers:
HTTP/1.1 500 Internal Server Error
Cache-Control: private, s-maxage=0
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 02 Aug 2017 10:43:54 GMT
Content-Length: 4130

Response Data

<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Server Error :(</title>
    <style>
        ::-moz-selection {
            background: #b3d4fc;
            text-shadow: none;
        }

        ::selection {
            background: #b3d4fc;
            text-shadow: none;
        }

        html {
            padding: 30px 10px;
            font-size: 20px;
            line-height: 1.4;
            color: #737373;
            background: #f0f0f0;
            -webkit-text-size-adjust: 100%;
            -ms-text-size-adjust: 100%;
        }

        html,
        input {
            font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        }

        body {
            max-width: 500px;
            _width: 500px;
            padding: 30px 20px 50px;
            border: 1px solid #b3b3b3;
            border-radius: 4px;
            margin: 0 auto;
            box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
            background: #fcfcfc;
        }

        h1 {
            margin: 0 10px;
            font-size: 50px;
            text-align: center;
        }

            h1 span {
                color: #bbb;
            }

        h3 {
            margin: 1.5em 0 0.5em;
        }

        p {
            margin: 1em 0;
        }

        ul {
            padding: 0 0 0 40px;
            margin: 1em 0;
        }

        .container {
            max-width: 380px;
            _width: 380px;
            margin: 0 auto;
        }
        /* google search */
        #goog-fixurl ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        #goog-fixurl form {
            margin: 0;
        }

        #goog-wm-qt,
        #goog-wm-sb {
            border: 1px solid #bbb;
            font-size: 16px;
            line-height: normal;
            vertical-align: top;
            color: #444;
            border-radius: 2px;
        }

        #goog-wm-qt {
            width: 220px;
            height: 20px;
            padding: 5px;
            margin: 5px 10px 0 0;
            box-shadow: inset 0 1px 1px #ccc;
        }

        #goog-wm-sb {
            display: inline-block;
            height: 32px;
            padding: 0 10px;
            margin: 5px 0 0;
            white-space: nowrap;
            cursor: pointer;
            background-color: #f5f5f5;
            background-image: -webkit-linear-gradient(rgba(255,255,255,0),
#f1f1f1);
            background-image: -moz-linear-gradient(rgba(255,255,255,0),
#f1f1f1);
            background-image: -ms-linear-gradient(rgba(255,255,255,0),
#f1f1f1);
            background-image: -o-linear-gradient(rgba(255,255,255,0),
#f1f1f1);
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            *overflow: visible;
            *display: inline;
            *zoom: 1;
        }

            #goog-wm-sb:hover,
            #goog-wm-sb:focus {
                border-color: #aaa;
                box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
                background-color: #f8f8f8;
            }

        #goog-wm-qt:hover,
        #goog-wm-qt:focus {
            border-color: #105cb6;
            outline: 0;
            color: #222;
        }

        input::-moz-focus-inner {
            padding: 0;
            border: 0;
        }
    </style>
   
   
</head>
<body>
    <div class="container">
        <h1>Server Error <span>:(</span></h1>
        <p>Sorry, but the page you were trying to view does not exist.</p>
        <p>It looks like this was the result of either:</p>
        <ul>
            <li>a mistyped address</li>
            <li>an out-of-date link</li>
        </ul>
        <script>
            var GOOG_FIXURL_LANG = (navigator.language || '').slice(0, 2),
GOOG_FIXURL_SITE = location.host;
        </script>
        <script
src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js?id=1"></script>
    </div>
</body>
</html>

Please guide us.

Thanks & Regards,
Shyam Kishor Panjiyar
+91-7506056770


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Not able to Upload Image

Riji K
Hi Shyam,

Suspect Mime-Type passed is the problem, Here’s a list of common Image Mime
Types:
image/gif: GIF image
image/jpeg: JPEG JFIF image
image/png: PNG image
image/svg+xml: SVG vector image
image/tiff: TIF image
image/vnd.djvu: DjVu image and multi-page document format

Regards,
Riji K

Regards,
Riji K

On Wed, Aug 2, 2017 at 4:23 PM, Shyam Panjiyar <[hidden email]>
wrote:

> Response headers:
> HTTP/1.1 500 Internal Server Error
> Cache-Control: private, s-maxage=0
> Content-Type: text/html; charset=utf-8
> Vary: Accept-Encoding
> Server: Microsoft-IIS/7.5
> X-AspNetMvc-Version: 5.2
> X-AspNet-Version: 4.0.30319
> X-Powered-By: ASP.NET
> Date: Wed, 02 Aug 2017 10:43:54 GMT
> Content-Length: 4130
>
> Response Data
>
> <!DOCTYPE html>
>
> <html lang="en">
> <head>
>     <meta charset="utf-8">
>     <title>Server Error :(</title>
>     <style>
>         ::-moz-selection {
>             background: #b3d4fc;
>             text-shadow: none;
>         }
>
>         ::selection {
>             background: #b3d4fc;
>             text-shadow: none;
>         }
>
>         html {
>             padding: 30px 10px;
>             font-size: 20px;
>             line-height: 1.4;
>             color: #737373;
>             background: #f0f0f0;
>             -webkit-text-size-adjust: 100%;
>             -ms-text-size-adjust: 100%;
>         }
>
>         html,
>         input {
>             font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
>         }
>
>         body {
>             max-width: 500px;
>             _width: 500px;
>             padding: 30px 20px 50px;
>             border: 1px solid #b3b3b3;
>             border-radius: 4px;
>             margin: 0 auto;
>             box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
>             background: #fcfcfc;
>         }
>
>         h1 {
>             margin: 0 10px;
>             font-size: 50px;
>             text-align: center;
>         }
>
>             h1 span {
>                 color: #bbb;
>             }
>
>         h3 {
>             margin: 1.5em 0 0.5em;
>         }
>
>         p {
>             margin: 1em 0;
>         }
>
>         ul {
>             padding: 0 0 0 40px;
>             margin: 1em 0;
>         }
>
>         .container {
>             max-width: 380px;
>             _width: 380px;
>             margin: 0 auto;
>         }
>         /* google search */
>         #goog-fixurl ul {
>             list-style: none;
>             padding: 0;
>             margin: 0;
>         }
>
>         #goog-fixurl form {
>             margin: 0;
>         }
>
>         #goog-wm-qt,
>         #goog-wm-sb {
>             border: 1px solid #bbb;
>             font-size: 16px;
>             line-height: normal;
>             vertical-align: top;
>             color: #444;
>             border-radius: 2px;
>         }
>
>         #goog-wm-qt {
>             width: 220px;
>             height: 20px;
>             padding: 5px;
>             margin: 5px 10px 0 0;
>             box-shadow: inset 0 1px 1px #ccc;
>         }
>
>         #goog-wm-sb {
>             display: inline-block;
>             height: 32px;
>             padding: 0 10px;
>             margin: 5px 0 0;
>             white-space: nowrap;
>             cursor: pointer;
>             background-color: #f5f5f5;
>             background-image: -webkit-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -moz-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -ms-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -o-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             -webkit-appearance: none;
>             -moz-appearance: none;
>             appearance: none;
>             *overflow: visible;
>             *display: inline;
>             *zoom: 1;
>         }
>
>             #goog-wm-sb:hover,
>             #goog-wm-sb:focus {
>                 border-color: #aaa;
>                 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
>                 background-color: #f8f8f8;
>             }
>
>         #goog-wm-qt:hover,
>         #goog-wm-qt:focus {
>             border-color: #105cb6;
>             outline: 0;
>             color: #222;
>         }
>
>         input::-moz-focus-inner {
>             padding: 0;
>             border: 0;
>         }
>     </style>
>
>
> </head>
> <body>
>     <div class="container">
>         <h1>Server Error <span>:(</span></h1>
>         <p>Sorry, but the page you were trying to view does not exist.</p>
>         <p>It looks like this was the result of either:</p>
>         <ul>
>             <li>a mistyped address</li>
>             <li>an out-of-date link</li>
>         </ul>
>         <script>
>             var GOOG_FIXURL_LANG = (navigator.language || '').slice(0, 2),
> GOOG_FIXURL_SITE = location.host;
>         </script>
>         <script
> src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js?id=1"></script>
>     </div>
> </body>
> </html>
>
> Please guide us.
>
> Thanks & Regards,
> Shyam Kishor Panjiyar
> +91-7506056770
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Not able to Upload Image

shyam.panjiyar
Hi Riji,

 Thanks for reply.

Request generated for MIME-Type

POST data:
--oPDwGBkEdB53WEi8jMCB-L9YM7DczvRx64xIUl
Content-Disposition: form-data; name="FileUpload "; filename="Aimage.png"
Content-Type: image/png
Content-Transfer-Encoding: binary

<actual file content, not shown here>
--oPDwGBkEdB53WEi8jMCB-L9YM7DczvRx64xIUl--

Please guide.

> Thanks & Regards,
> Shyam Kishor Panjiyar
> +91-7506056770


-----Original Message-----
From: Riji K [mailto:[hidden email]]
Sent: 02 August 2017 18:02
To: JMeter Users List <[hidden email]>
Subject: Re: Not able to Upload Image

Hi Shyam,

Suspect Mime-Type passed is the problem, Here’s a list of common Image Mime
Types:
image/gif: GIF image
image/jpeg: JPEG JFIF image
image/png: PNG image
image/svg+xml: SVG vector image
image/tiff: TIF image
image/vnd.djvu: DjVu image and multi-page document format

Regards,
Riji K

Regards,
Riji K

On Wed, Aug 2, 2017 at 4:23 PM, Shyam Panjiyar <[hidden email]>
wrote:

> Response headers:
> HTTP/1.1 500 Internal Server Error
> Cache-Control: private, s-maxage=0
> Content-Type: text/html; charset=utf-8
> Vary: Accept-Encoding
> Server: Microsoft-IIS/7.5
> X-AspNetMvc-Version: 5.2
> X-AspNet-Version: 4.0.30319
> X-Powered-By: ASP.NET
> Date: Wed, 02 Aug 2017 10:43:54 GMT
> Content-Length: 4130
>
> Response Data
>
> <!DOCTYPE html>
>
> <html lang="en">
> <head>
>     <meta charset="utf-8">
>     <title>Server Error :(</title>
>     <style>
>         ::-moz-selection {
>             background: #b3d4fc;
>             text-shadow: none;
>         }
>
>         ::selection {
>             background: #b3d4fc;
>             text-shadow: none;
>         }
>
>         html {
>             padding: 30px 10px;
>             font-size: 20px;
>             line-height: 1.4;
>             color: #737373;
>             background: #f0f0f0;
>             -webkit-text-size-adjust: 100%;
>             -ms-text-size-adjust: 100%;
>         }
>
>         html,
>         input {
>             font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
>         }
>
>         body {
>             max-width: 500px;
>             _width: 500px;
>             padding: 30px 20px 50px;
>             border: 1px solid #b3b3b3;
>             border-radius: 4px;
>             margin: 0 auto;
>             box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
>             background: #fcfcfc;
>         }
>
>         h1 {
>             margin: 0 10px;
>             font-size: 50px;
>             text-align: center;
>         }
>
>             h1 span {
>                 color: #bbb;
>             }
>
>         h3 {
>             margin: 1.5em 0 0.5em;
>         }
>
>         p {
>             margin: 1em 0;
>         }
>
>         ul {
>             padding: 0 0 0 40px;
>             margin: 1em 0;
>         }
>
>         .container {
>             max-width: 380px;
>             _width: 380px;
>             margin: 0 auto;
>         }
>         /* google search */
>         #goog-fixurl ul {
>             list-style: none;
>             padding: 0;
>             margin: 0;
>         }
>
>         #goog-fixurl form {
>             margin: 0;
>         }
>
>         #goog-wm-qt,
>         #goog-wm-sb {
>             border: 1px solid #bbb;
>             font-size: 16px;
>             line-height: normal;
>             vertical-align: top;
>             color: #444;
>             border-radius: 2px;
>         }
>
>         #goog-wm-qt {
>             width: 220px;
>             height: 20px;
>             padding: 5px;
>             margin: 5px 10px 0 0;
>             box-shadow: inset 0 1px 1px #ccc;
>         }
>
>         #goog-wm-sb {
>             display: inline-block;
>             height: 32px;
>             padding: 0 10px;
>             margin: 5px 0 0;
>             white-space: nowrap;
>             cursor: pointer;
>             background-color: #f5f5f5;
>             background-image:
> -webkit-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image:
> -moz-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -ms-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -o-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             -webkit-appearance: none;
>             -moz-appearance: none;
>             appearance: none;
>             *overflow: visible;
>             *display: inline;
>             *zoom: 1;
>         }
>
>             #goog-wm-sb:hover,
>             #goog-wm-sb:focus {
>                 border-color: #aaa;
>                 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
>                 background-color: #f8f8f8;
>             }
>
>         #goog-wm-qt:hover,
>         #goog-wm-qt:focus {
>             border-color: #105cb6;
>             outline: 0;
>             color: #222;
>         }
>
>         input::-moz-focus-inner {
>             padding: 0;
>             border: 0;
>         }
>     </style>
>
>
> </head>
> <body>
>     <div class="container">
>         <h1>Server Error <span>:(</span></h1>
>         <p>Sorry, but the page you were trying to view does not exist.</p>
>         <p>It looks like this was the result of either:</p>
>         <ul>
>             <li>a mistyped address</li>
>             <li>an out-of-date link</li>
>         </ul>
>         <script>
>             var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,
> 2), GOOG_FIXURL_SITE = location.host;
>         </script>
>         <script
> src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js?id=1"></script>
>     </div>
> </body>
> </html>
>
> Please guide us.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Not able to Upload Image

glinius@live.com
This post has NOT been accepted by the mailing list yet.
I think you need to tick "Use mutlipart/form-data for POST" box in the HTTP Request sampler as this is something you should be normally using for file uploads.



In general the easiest way of generating a correct upload request is just recording it using HTTP(S) Test Script Recorder, all you need to do is just copy the file(s) you will be uploading to the "bin" folder of your JMeter installation so JMeter could find it. See Recording File Uploads with JMeter guide for more details.
Reply | Threaded
Open this post in threaded view
|

RE: Not able to Upload Image

shyam.panjiyar
In reply to this post by Riji K
Hi All,

We are getting below errors while uploading image.

Response code: 500
Response message: Internal Server Error

<h1>Server Error <span>:(</span></h1>
        <p>Sorry, but the page you were trying to view does not exist.</p>
        <p>It looks like this was the result of either:</p>
        <ul>
            <li>a mistyped address</li>
            <li>an out-of-date link</li>

Please guide

Thanks & Regards,
Shyam Kishor Panjiyar
+91-7506056770      
 
 
 

E: [hidden email] | M: +91-7506056770 | W: www.5nance.com
Innovage Fintech Pvt Ltd    
 
 


-----Original Message-----
From: Shyam Panjiyar [mailto:[hidden email]]
Sent: 02 August 2017 18:28
To: 'JMeter Users List' <[hidden email]>; '[hidden email]' <[hidden email]>
Subject: RE: Not able to Upload Image

Hi Riji,

 Thanks for reply.

Request generated for MIME-Type

POST data:
--oPDwGBkEdB53WEi8jMCB-L9YM7DczvRx64xIUl
Content-Disposition: form-data; name="FileUpload "; filename="Aimage.png"
Content-Type: image/png
Content-Transfer-Encoding: binary

<actual file content, not shown here>
--oPDwGBkEdB53WEi8jMCB-L9YM7DczvRx64xIUl--

Please guide.

> Thanks & Regards,
> Shyam Kishor Panjiyar
> +91-7506056770


-----Original Message-----
From: Riji K [mailto:[hidden email]]
Sent: 02 August 2017 18:02
To: JMeter Users List <[hidden email]>
Subject: Re: Not able to Upload Image

Hi Shyam,

Suspect Mime-Type passed is the problem, Here’s a list of common Image Mime
Types:
image/gif: GIF image
image/jpeg: JPEG JFIF image
image/png: PNG image
image/svg+xml: SVG vector image
image/tiff: TIF image
image/vnd.djvu: DjVu image and multi-page document format

Regards,
Riji K

Regards,
Riji K

On Wed, Aug 2, 2017 at 4:23 PM, Shyam Panjiyar <[hidden email]>
wrote:

> Response headers:
> HTTP/1.1 500 Internal Server Error
> Cache-Control: private, s-maxage=0
> Content-Type: text/html; charset=utf-8
> Vary: Accept-Encoding
> Server: Microsoft-IIS/7.5
> X-AspNetMvc-Version: 5.2
> X-AspNet-Version: 4.0.30319
> X-Powered-By: ASP.NET
> Date: Wed, 02 Aug 2017 10:43:54 GMT
> Content-Length: 4130
>
> Response Data
>
> <!DOCTYPE html>
>
> <html lang="en">
> <head>
>     <meta charset="utf-8">
>     <title>Server Error :(</title>
>     <style>
>         ::-moz-selection {
>             background: #b3d4fc;
>             text-shadow: none;
>         }
>
>         ::selection {
>             background: #b3d4fc;
>             text-shadow: none;
>         }
>
>         html {
>             padding: 30px 10px;
>             font-size: 20px;
>             line-height: 1.4;
>             color: #737373;
>             background: #f0f0f0;
>             -webkit-text-size-adjust: 100%;
>             -ms-text-size-adjust: 100%;
>         }
>
>         html,
>         input {
>             font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
>         }
>
>         body {
>             max-width: 500px;
>             _width: 500px;
>             padding: 30px 20px 50px;
>             border: 1px solid #b3b3b3;
>             border-radius: 4px;
>             margin: 0 auto;
>             box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
>             background: #fcfcfc;
>         }
>
>         h1 {
>             margin: 0 10px;
>             font-size: 50px;
>             text-align: center;
>         }
>
>             h1 span {
>                 color: #bbb;
>             }
>
>         h3 {
>             margin: 1.5em 0 0.5em;
>         }
>
>         p {
>             margin: 1em 0;
>         }
>
>         ul {
>             padding: 0 0 0 40px;
>             margin: 1em 0;
>         }
>
>         .container {
>             max-width: 380px;
>             _width: 380px;
>             margin: 0 auto;
>         }
>         /* google search */
>         #goog-fixurl ul {
>             list-style: none;
>             padding: 0;
>             margin: 0;
>         }
>
>         #goog-fixurl form {
>             margin: 0;
>         }
>
>         #goog-wm-qt,
>         #goog-wm-sb {
>             border: 1px solid #bbb;
>             font-size: 16px;
>             line-height: normal;
>             vertical-align: top;
>             color: #444;
>             border-radius: 2px;
>         }
>
>         #goog-wm-qt {
>             width: 220px;
>             height: 20px;
>             padding: 5px;
>             margin: 5px 10px 0 0;
>             box-shadow: inset 0 1px 1px #ccc;
>         }
>
>         #goog-wm-sb {
>             display: inline-block;
>             height: 32px;
>             padding: 0 10px;
>             margin: 5px 0 0;
>             white-space: nowrap;
>             cursor: pointer;
>             background-color: #f5f5f5;
>             background-image:
> -webkit-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image:
> -moz-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -ms-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -o-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             -webkit-appearance: none;
>             -moz-appearance: none;
>             appearance: none;
>             *overflow: visible;
>             *display: inline;
>             *zoom: 1;
>         }
>
>             #goog-wm-sb:hover,
>             #goog-wm-sb:focus {
>                 border-color: #aaa;
>                 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
>                 background-color: #f8f8f8;
>             }
>
>         #goog-wm-qt:hover,
>         #goog-wm-qt:focus {
>             border-color: #105cb6;
>             outline: 0;
>             color: #222;
>         }
>
>         input::-moz-focus-inner {
>             padding: 0;
>             border: 0;
>         }
>     </style>
>
>
> </head>
> <body>
>     <div class="container">
>         <h1>Server Error <span>:(</span></h1>
>         <p>Sorry, but the page you were trying to view does not exist.</p>
>         <p>It looks like this was the result of either:</p>
>         <ul>
>             <li>a mistyped address</li>
>             <li>an out-of-date link</li>
>         </ul>
>         <script>
>             var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,
> 2), GOOG_FIXURL_SITE = location.host;
>         </script>
>         <script
> src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js?id=1"></script>
>     </div>
> </body>
> </html>
>
> Please guide us.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Not able to Upload Image

Bob Small
Why would you get a 500 Internal Server Error Status Code for a bad URL or Page not found which is typically 404 or 400?

Bob Small
QA Automation

Development
Blackboard Transact

T: 602.752.6301
blackboard.com/transact



-----Original Message-----
From: Shyam Panjiyar [mailto:[hidden email]]
Sent: Wednesday, August 2, 2017 11:36 PM
To: 'JMeter Users List' <[hidden email]>; [hidden email]
Subject: RE: Not able to Upload Image

Hi All,

We are getting below errors while uploading image.

Response code: 500
Response message: Internal Server Error

<h1>Server Error <span>:(</span></h1>
        <p>Sorry, but the page you were trying to view does not exist.</p>
        <p>It looks like this was the result of either:</p>
        <ul>
            <li>a mistyped address</li>
            <li>an out-of-date link</li>

Please guide

Thanks & Regards,
Shyam Kishor Panjiyar
+91-7506056770




E: [hidden email] | M: +91-7506056770 | W: https://na01.safelinks.protection.outlook.com/?url=www.5nance.com&data=02%7C01%7Cbob.small%40blackboard.com%7Cb34ab45b800f41e0812b08d4da39e5c1%7Cbf0b29a25e5c4aaaba4dac988df15ea6%7C0%7C0%7C636373389584793092&sdata=%2BHALTmNbG6q8oG%2BEHi1XhDbHTuBIw6ZLRrjdmf93qAo%3D&reserved=0
Innovage Fintech Pvt Ltd




-----Original Message-----
From: Shyam Panjiyar [mailto:[hidden email]]
Sent: 02 August 2017 18:28
To: 'JMeter Users List' <[hidden email]>; '[hidden email]' <[hidden email]>
Subject: RE: Not able to Upload Image

Hi Riji,

 Thanks for reply.

Request generated for MIME-Type

POST data:
--oPDwGBkEdB53WEi8jMCB-L9YM7DczvRx64xIUl
Content-Disposition: form-data; name="FileUpload "; filename="Aimage.png"
Content-Type: image/png
Content-Transfer-Encoding: binary

<actual file content, not shown here>
--oPDwGBkEdB53WEi8jMCB-L9YM7DczvRx64xIUl--

Please guide.

> Thanks & Regards,
> Shyam Kishor Panjiyar
> +91-7506056770


-----Original Message-----
From: Riji K [mailto:[hidden email]]
Sent: 02 August 2017 18:02
To: JMeter Users List <[hidden email]>
Subject: Re: Not able to Upload Image

Hi Shyam,

Suspect Mime-Type passed is the problem, Here’s a list of common Image Mime
Types:
image/gif: GIF image
image/jpeg: JPEG JFIF image
image/png: PNG image
image/svg+xml: SVG vector image
image/tiff: TIF image
image/vnd.djvu: DjVu image and multi-page document format

Regards,
Riji K

Regards,
Riji K

On Wed, Aug 2, 2017 at 4:23 PM, Shyam Panjiyar <[hidden email]>
wrote:

> Response headers:
> HTTP/1.1 500 Internal Server Error
> Cache-Control: private, s-maxage=0
> Content-Type: text/html; charset=utf-8
> Vary: Accept-Encoding
> Server: Microsoft-IIS/7.5
> X-AspNetMvc-Version: 5.2
> X-AspNet-Version: 4.0.30319
> X-Powered-By: ASP.NET
> Date: Wed, 02 Aug 2017 10:43:54 GMT
> Content-Length: 4130
>
> Response Data
>
> <!DOCTYPE html>
>
> <html lang="en">
> <head>
>     <meta charset="utf-8">
>     <title>Server Error :(</title>
>     <style>
>         ::-moz-selection {
>             background: #b3d4fc;
>             text-shadow: none;
>         }
>
>         ::selection {
>             background: #b3d4fc;
>             text-shadow: none;
>         }
>
>         html {
>             padding: 30px 10px;
>             font-size: 20px;
>             line-height: 1.4;
>             color: #737373;
>             background: #f0f0f0;
>             -webkit-text-size-adjust: 100%;
>             -ms-text-size-adjust: 100%;
>         }
>
>         html,
>         input {
>             font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
>         }
>
>         body {
>             max-width: 500px;
>             _width: 500px;
>             padding: 30px 20px 50px;
>             border: 1px solid #b3b3b3;
>             border-radius: 4px;
>             margin: 0 auto;
>             box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
>             background: #fcfcfc;
>         }
>
>         h1 {
>             margin: 0 10px;
>             font-size: 50px;
>             text-align: center;
>         }
>
>             h1 span {
>                 color: #bbb;
>             }
>
>         h3 {
>             margin: 1.5em 0 0.5em;
>         }
>
>         p {
>             margin: 1em 0;
>         }
>
>         ul {
>             padding: 0 0 0 40px;
>             margin: 1em 0;
>         }
>
>         .container {
>             max-width: 380px;
>             _width: 380px;
>             margin: 0 auto;
>         }
>         /* google search */
>         #goog-fixurl ul {
>             list-style: none;
>             padding: 0;
>             margin: 0;
>         }
>
>         #goog-fixurl form {
>             margin: 0;
>         }
>
>         #goog-wm-qt,
>         #goog-wm-sb {
>             border: 1px solid #bbb;
>             font-size: 16px;
>             line-height: normal;
>             vertical-align: top;
>             color: #444;
>             border-radius: 2px;
>         }
>
>         #goog-wm-qt {
>             width: 220px;
>             height: 20px;
>             padding: 5px;
>             margin: 5px 10px 0 0;
>             box-shadow: inset 0 1px 1px #ccc;
>         }
>
>         #goog-wm-sb {
>             display: inline-block;
>             height: 32px;
>             padding: 0 10px;
>             margin: 5px 0 0;
>             white-space: nowrap;
>             cursor: pointer;
>             background-color: #f5f5f5;
>             background-image:
> -webkit-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image:
> -moz-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -ms-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -o-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             -webkit-appearance: none;
>             -moz-appearance: none;
>             appearance: none;
>             *overflow: visible;
>             *display: inline;
>             *zoom: 1;
>         }
>
>             #goog-wm-sb:hover,
>             #goog-wm-sb:focus {
>                 border-color: #aaa;
>                 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
>                 background-color: #f8f8f8;
>             }
>
>         #goog-wm-qt:hover,
>         #goog-wm-qt:focus {
>             border-color: #105cb6;
>             outline: 0;
>             color: #222;
>         }
>
>         input::-moz-focus-inner {
>             padding: 0;
>             border: 0;
>         }
>     </style>
>
>
> </head>
> <body>
>     <div class="container">
>         <h1>Server Error <span>:(</span></h1>
>         <p>Sorry, but the page you were trying to view does not exist.</p>
>         <p>It looks like this was the result of either:</p>
>         <ul>
>             <li>a mistyped address</li>
>             <li>an out-of-date link</li>
>         </ul>
>         <script>
>             var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,
> 2), GOOG_FIXURL_SITE = location.host;
>         </script>
>         <script
> src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js?id=1"></script>
>     </div>
> </body>
> </html>
>
> Please guide us.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

This email and any attachments may contain confidential and proprietary information of Blackboard that is for the sole use of the intended recipient. If you are not the intended recipient, disclosure, copying, re-distribution or other use of any of this information is strictly prohibited. Please immediately notify the sender and delete this transmission if you received this email in error.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

RE: Not able to Upload Image

derek kelly
I think this is related to my bug.

I'm using IIS and MVC / ASP.Net 4.5+

In my case it looks like JMeter is sending the file correctly, but the function (the Action) is called with a "null" file.  In other words, the function is called, but the file isn't send to it.

So the 500 error is your Null Pointer Exception because you tried to access the file when there isn't one.   If you're logging have it write what it sees there.  I documented what I could at https://stackoverflow.com/questions/45291222/jmeter-3-2-file-upload-hitting-asp-net-as-null-file .  I posted a sample app and sample jmeter script there, along with Wireshark captures.

I was at the limit of my ability there, without digging through MVC source code, so I worked around it to do my testing.

-----Original Message-----
From: Bob Small [mailto:[hidden email]]
Sent: Thursday, August 3, 2017 1:51 PM
To: JMeter Users List <[hidden email]>; [hidden email]
Subject: RE: Not able to Upload Image

Why would you get a 500 Internal Server Error Status Code for a bad URL or Page not found which is typically 404 or 400?

Bob Small
QA Automation

Development
Blackboard Transact

T: 602.752.6301
blackboard.com/transact



-----Original Message-----
From: Shyam Panjiyar [mailto:[hidden email]]
Sent: Wednesday, August 2, 2017 11:36 PM
To: 'JMeter Users List' <[hidden email]>; [hidden email]
Subject: RE: Not able to Upload Image

Hi All,

We are getting below errors while uploading image.

Response code: 500
Response message: Internal Server Error

<h1>Server Error <span>:(</span></h1>
        <p>Sorry, but the page you were trying to view does not exist.</p>
        <p>It looks like this was the result of either:</p>
        <ul>
            <li>a mistyped address</li>
            <li>an out-of-date link</li>

Please guide

Thanks & Regards,
Shyam Kishor Panjiyar
+91-7506056770




E: [hidden email] | M: +91-7506056770 | W: https://na01.safelinks.protection.outlook.com/?url=www.5nance.com&data=02%7C01%7Cbob.small%40blackboard.com%7Cb34ab45b800f41e0812b08d4da39e5c1%7Cbf0b29a25e5c4aaaba4dac988df15ea6%7C0%7C0%7C636373389584793092&sdata=%2BHALTmNbG6q8oG%2BEHi1XhDbHTuBIw6ZLRrjdmf93qAo%3D&reserved=0
Innovage Fintech Pvt Ltd




-----Original Message-----
From: Shyam Panjiyar [mailto:[hidden email]]
Sent: 02 August 2017 18:28
To: 'JMeter Users List' <[hidden email]>; '[hidden email]' <[hidden email]>
Subject: RE: Not able to Upload Image

Hi Riji,

 Thanks for reply.

Request generated for MIME-Type

POST data:
--oPDwGBkEdB53WEi8jMCB-L9YM7DczvRx64xIUl
Content-Disposition: form-data; name="FileUpload "; filename="Aimage.png"
Content-Type: image/png
Content-Transfer-Encoding: binary

<actual file content, not shown here>
--oPDwGBkEdB53WEi8jMCB-L9YM7DczvRx64xIUl--

Please guide.

> Thanks & Regards,
> Shyam Kishor Panjiyar
> +91-7506056770


-----Original Message-----
From: Riji K [mailto:[hidden email]]
Sent: 02 August 2017 18:02
To: JMeter Users List <[hidden email]>
Subject: Re: Not able to Upload Image

Hi Shyam,

Suspect Mime-Type passed is the problem, Here’s a list of common Image Mime
Types:
image/gif: GIF image
image/jpeg: JPEG JFIF image
image/png: PNG image
image/svg+xml: SVG vector image
image/tiff: TIF image
image/vnd.djvu: DjVu image and multi-page document format

Regards,
Riji K

Regards,
Riji K

On Wed, Aug 2, 2017 at 4:23 PM, Shyam Panjiyar <[hidden email]>
wrote:

> Response headers:
> HTTP/1.1 500 Internal Server Error
> Cache-Control: private, s-maxage=0
> Content-Type: text/html; charset=utf-8
> Vary: Accept-Encoding
> Server: Microsoft-IIS/7.5
> X-AspNetMvc-Version: 5.2
> X-AspNet-Version: 4.0.30319
> X-Powered-By: ASP.NET
> Date: Wed, 02 Aug 2017 10:43:54 GMT
> Content-Length: 4130
>
> Response Data
>
> <!DOCTYPE html>
>
> <html lang="en">
> <head>
>     <meta charset="utf-8">
>     <title>Server Error :(</title>
>     <style>
>         ::-moz-selection {
>             background: #b3d4fc;
>             text-shadow: none;
>         }
>
>         ::selection {
>             background: #b3d4fc;
>             text-shadow: none;
>         }
>
>         html {
>             padding: 30px 10px;
>             font-size: 20px;
>             line-height: 1.4;
>             color: #737373;
>             background: #f0f0f0;
>             -webkit-text-size-adjust: 100%;
>             -ms-text-size-adjust: 100%;
>         }
>
>         html,
>         input {
>             font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
>         }
>
>         body {
>             max-width: 500px;
>             _width: 500px;
>             padding: 30px 20px 50px;
>             border: 1px solid #b3b3b3;
>             border-radius: 4px;
>             margin: 0 auto;
>             box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
>             background: #fcfcfc;
>         }
>
>         h1 {
>             margin: 0 10px;
>             font-size: 50px;
>             text-align: center;
>         }
>
>             h1 span {
>                 color: #bbb;
>             }
>
>         h3 {
>             margin: 1.5em 0 0.5em;
>         }
>
>         p {
>             margin: 1em 0;
>         }
>
>         ul {
>             padding: 0 0 0 40px;
>             margin: 1em 0;
>         }
>
>         .container {
>             max-width: 380px;
>             _width: 380px;
>             margin: 0 auto;
>         }
>         /* google search */
>         #goog-fixurl ul {
>             list-style: none;
>             padding: 0;
>             margin: 0;
>         }
>
>         #goog-fixurl form {
>             margin: 0;
>         }
>
>         #goog-wm-qt,
>         #goog-wm-sb {
>             border: 1px solid #bbb;
>             font-size: 16px;
>             line-height: normal;
>             vertical-align: top;
>             color: #444;
>             border-radius: 2px;
>         }
>
>         #goog-wm-qt {
>             width: 220px;
>             height: 20px;
>             padding: 5px;
>             margin: 5px 10px 0 0;
>             box-shadow: inset 0 1px 1px #ccc;
>         }
>
>         #goog-wm-sb {
>             display: inline-block;
>             height: 32px;
>             padding: 0 10px;
>             margin: 5px 0 0;
>             white-space: nowrap;
>             cursor: pointer;
>             background-color: #f5f5f5;
>             background-image:
> -webkit-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image:
> -moz-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -ms-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             background-image: -o-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>             -webkit-appearance: none;
>             -moz-appearance: none;
>             appearance: none;
>             *overflow: visible;
>             *display: inline;
>             *zoom: 1;
>         }
>
>             #goog-wm-sb:hover,
>             #goog-wm-sb:focus {
>                 border-color: #aaa;
>                 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
>                 background-color: #f8f8f8;
>             }
>
>         #goog-wm-qt:hover,
>         #goog-wm-qt:focus {
>             border-color: #105cb6;
>             outline: 0;
>             color: #222;
>         }
>
>         input::-moz-focus-inner {
>             padding: 0;
>             border: 0;
>         }
>     </style>
>
>
> </head>
> <body>
>     <div class="container">
>         <h1>Server Error <span>:(</span></h1>
>         <p>Sorry, but the page you were trying to view does not exist.</p>
>         <p>It looks like this was the result of either:</p>
>         <ul>
>             <li>a mistyped address</li>
>             <li>an out-of-date link</li>
>         </ul>
>         <script>
>             var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,
> 2), GOOG_FIXURL_SITE = location.host;
>         </script>
>         <script
> src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js?id=1"></script>
>     </div>
> </body>
> </html>
>
> Please guide us.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

This email and any attachments may contain confidential and proprietary information of Blackboard that is for the sole use of the intended recipient. If you are not the intended recipient, disclosure, copying, re-distribution or other use of any of this information is strictly prohibited. Please immediately notify the sender and delete this transmission if you received this email in error.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Not able to Upload Image

Felix Schumacher
In reply to this post by shyam.panjiyar
Am 02.08.2017 um 12:53 schrieb Shyam Panjiyar:

> Response headers:
> HTTP/1.1 500 Internal Server Error
> Cache-Control: private, s-maxage=0
> Content-Type: text/html; charset=utf-8
> Vary: Accept-Encoding
> Server: Microsoft-IIS/7.5
> X-AspNetMvc-Version: 5.2
> X-AspNet-Version: 4.0.30319
> X-Powered-By: ASP.NET
> Date: Wed, 02 Aug 2017 10:43:54 GMT
> Content-Length: 4130
Is this a publicly available site? Can you post a simple test plan, that
shows the behaviour?

Felix

>
> Response Data
>
> <!DOCTYPE html>
>
> <html lang="en">
> <head>
>      <meta charset="utf-8">
>      <title>Server Error :(</title>
>      <style>
>          ::-moz-selection {
>              background: #b3d4fc;
>              text-shadow: none;
>          }
>
>          ::selection {
>              background: #b3d4fc;
>              text-shadow: none;
>          }
>
>          html {
>              padding: 30px 10px;
>              font-size: 20px;
>              line-height: 1.4;
>              color: #737373;
>              background: #f0f0f0;
>              -webkit-text-size-adjust: 100%;
>              -ms-text-size-adjust: 100%;
>          }
>
>          html,
>          input {
>              font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
>          }
>
>          body {
>              max-width: 500px;
>              _width: 500px;
>              padding: 30px 20px 50px;
>              border: 1px solid #b3b3b3;
>              border-radius: 4px;
>              margin: 0 auto;
>              box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
>              background: #fcfcfc;
>          }
>
>          h1 {
>              margin: 0 10px;
>              font-size: 50px;
>              text-align: center;
>          }
>
>              h1 span {
>                  color: #bbb;
>              }
>
>          h3 {
>              margin: 1.5em 0 0.5em;
>          }
>
>          p {
>              margin: 1em 0;
>          }
>
>          ul {
>              padding: 0 0 0 40px;
>              margin: 1em 0;
>          }
>
>          .container {
>              max-width: 380px;
>              _width: 380px;
>              margin: 0 auto;
>          }
>          /* google search */
>          #goog-fixurl ul {
>              list-style: none;
>              padding: 0;
>              margin: 0;
>          }
>
>          #goog-fixurl form {
>              margin: 0;
>          }
>
>          #goog-wm-qt,
>          #goog-wm-sb {
>              border: 1px solid #bbb;
>              font-size: 16px;
>              line-height: normal;
>              vertical-align: top;
>              color: #444;
>              border-radius: 2px;
>          }
>
>          #goog-wm-qt {
>              width: 220px;
>              height: 20px;
>              padding: 5px;
>              margin: 5px 10px 0 0;
>              box-shadow: inset 0 1px 1px #ccc;
>          }
>
>          #goog-wm-sb {
>              display: inline-block;
>              height: 32px;
>              padding: 0 10px;
>              margin: 5px 0 0;
>              white-space: nowrap;
>              cursor: pointer;
>              background-color: #f5f5f5;
>              background-image: -webkit-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>              background-image: -moz-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>              background-image: -ms-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>              background-image: -o-linear-gradient(rgba(255,255,255,0),
> #f1f1f1);
>              -webkit-appearance: none;
>              -moz-appearance: none;
>              appearance: none;
>              *overflow: visible;
>              *display: inline;
>              *zoom: 1;
>          }
>
>              #goog-wm-sb:hover,
>              #goog-wm-sb:focus {
>                  border-color: #aaa;
>                  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
>                  background-color: #f8f8f8;
>              }
>
>          #goog-wm-qt:hover,
>          #goog-wm-qt:focus {
>              border-color: #105cb6;
>              outline: 0;
>              color: #222;
>          }
>
>          input::-moz-focus-inner {
>              padding: 0;
>              border: 0;
>          }
>      </style>
>      
>      
> </head>
> <body>
>      <div class="container">
>          <h1>Server Error <span>:(</span></h1>
>          <p>Sorry, but the page you were trying to view does not exist.</p>
>          <p>It looks like this was the result of either:</p>
>          <ul>
>              <li>a mistyped address</li>
>              <li>an out-of-date link</li>
>          </ul>
>          <script>
>              var GOOG_FIXURL_LANG = (navigator.language || '').slice(0, 2),
> GOOG_FIXURL_SITE = location.host;
>          </script>
>          <script
> src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js?id=1"></script>
>      </div>
> </body>
> </html>
>
> Please guide us.
>
> Thanks & Regards,
> Shyam Kishor Panjiyar
> +91-7506056770
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]