13 years ago
How Do you use Dynamic URLs that have values embedded in them? (ie. /sitename/app/@dynamicvalue/assign)
Hello all,
We are using LoadComplete2.
We have Urls that contain Ids embedded in them, i.e.
http://servier/com/app/userId/assign,
if the client browser post this URL to the server, it includes the data to fill in a cookie, and the cookie values are saved with the userId of the Url.
When I do a LoadComplete recording, that URL it become hard coded and all virtual users assign thier cookie content to that recorded userId.
The documentatioin on this site seems to assume the link would be http://servier/com/app/assign?userId=@userId and userID could be turned into a variable.
But that is not how our application behaves.
Can anyone tell me the best way to attack this scenario? I have to believe its fairly common.
We are using LoadComplete2.
We have Urls that contain Ids embedded in them, i.e.
http://servier/com/app/userId/assign,
if the client browser post this URL to the server, it includes the data to fill in a cookie, and the cookie values are saved with the userId of the Url.
When I do a LoadComplete recording, that URL it become hard coded and all virtual users assign thier cookie content to that recorded userId.
The documentatioin on this site seems to assume the link would be http://servier/com/app/assign?userId=@userId and userID could be turned into a variable.
But that is not how our application behaves.
Can anyone tell me the best way to attack this scenario? I have to believe its fairly common.