Alexandru Rotaru
2009-08-13 16:19:47 UTC
Hello,
I am trying to create a script for an asp.net application using
JMeter, that adds an event. For adding an event I need to get through
4-5 steps (pages), so I send 4-5 Post requests from JMeter.
Everything works fine for the first 3 Posts, but at the last one, the
response is not redirected to the correct page, so the post is not
performed.
I used HTTPFox Firefox add-on to monitor the website activity, and the
Location fields from the response header have different values in
JMeter and HTTPFox:
- JMeter redirects to the posting page
Thread Name: RTA User 1-1
Sample Start: 2009-08-13 15:58:05 EEST
Load time: 245
Latency: 245
Size in bytes: 198
Sample Count: 1
Error Count: 0
Response code: 302
Response message: Found
Response headers:
HTTP/1.1 302 Found
Date: Thu, 13 Aug 2009 12:58:05 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Location: http://www.mysite.com/(jggwaa55sacshdektl0u4e45)/Setup/EventPreview.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 198
HTTPSampleResult fields:
ContentType: text/html; charset=utf-8
DataEncoding: utf-8
- HTTPFox says the redirect is to the Thanks page ...
(Status-Line) HTTP/1.1 302 Found
Date Thu, 13 Aug 2009 15:30:04 GMT
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
X-AspNet-Version 1.1.4322
Location /(jggwaa55sacshdektl0u4e45)/Setup/Thanks.aspx
Cache-Control private
Content-Type text/html; charset=utf-8
Content-Length 162
I tried to use both Redirect Automatically and Follow Redirects, but
without any success.
I am new to JMeter, so I am thinking that maybe there's something that
I'm missing...
Please let me know if you need any other info.
Thanks,
Alex
I am trying to create a script for an asp.net application using
JMeter, that adds an event. For adding an event I need to get through
4-5 steps (pages), so I send 4-5 Post requests from JMeter.
Everything works fine for the first 3 Posts, but at the last one, the
response is not redirected to the correct page, so the post is not
performed.
I used HTTPFox Firefox add-on to monitor the website activity, and the
Location fields from the response header have different values in
JMeter and HTTPFox:
- JMeter redirects to the posting page
Thread Name: RTA User 1-1
Sample Start: 2009-08-13 15:58:05 EEST
Load time: 245
Latency: 245
Size in bytes: 198
Sample Count: 1
Error Count: 0
Response code: 302
Response message: Found
Response headers:
HTTP/1.1 302 Found
Date: Thu, 13 Aug 2009 12:58:05 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Location: http://www.mysite.com/(jggwaa55sacshdektl0u4e45)/Setup/EventPreview.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 198
HTTPSampleResult fields:
ContentType: text/html; charset=utf-8
DataEncoding: utf-8
- HTTPFox says the redirect is to the Thanks page ...
(Status-Line) HTTP/1.1 302 Found
Date Thu, 13 Aug 2009 15:30:04 GMT
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
X-AspNet-Version 1.1.4322
Location /(jggwaa55sacshdektl0u4e45)/Setup/Thanks.aspx
Cache-Control private
Content-Type text/html; charset=utf-8
Content-Length 162
I tried to use both Redirect Automatically and Follow Redirects, but
without any success.
I am new to JMeter, so I am thinking that maybe there's something that
I'm missing...
Please let me know if you need any other info.
Thanks,
Alex