Correlation with ANTS Load
How can I make my scripts dynamic. Are there any methods available to correlate dynamic content on my website.
Specifically: Every time when I create a new user record a unique user id is generated by the system. I want to capture this from the response data. Please give me some direction.
Thanks & Regards
Ajay
Specifically: Every time when I create a new user record a unique user id is generated by the system. I want to capture this from the response data. Please give me some direction.
Thanks & Regards
Ajay
Comments
Every website does this differently, but the key is to parse this information from the server's response to a request (the HttpResponse). If the userid is returned in a querystring as part of a redirect, then you can use the HttpResponse.Location. If it's somewhere in a hidden field, you would want to examine the HttpResponse.Content. For instance: