Performance Engineering tool: LoadRunner 11
Protocol: Silverlight
The scenario: 1. A call is made (by the Silverlight application) to the web server to generate a unique identifier (UID) 2. The server returns a response with the UID 3. The application uses that UID to save Patient record (in this scenario, UID is Unique Patient Id)
The problem: We would like to use the ID received in the Step 2's Web Response (say, as a local variable) and replace it in the next subsequent request sent by LoadRunner.
Please advise whether the same is possible.
*In parallel trying to figure out if "web_reg_save_param" will solve our problem.*
------------ LoadRunner data --------------------
1. Call to generate Uid
ignored as it is too large to paste here and irrelevant
2. Response from server (The UID is UNI-0000001544)
HTTP/1.1 200 OKCache-Control: privateContent-Type: application/msbin1Content-Encoding: gzipVary: Accept-EncodingServer: Microsoft-IIS/7.5X-AspNet-Version: 4.0.30319X-Powered-By: ASP.NETDate: Fri, 06 Jul 2012 05:41:27 GMTContent-Length: 188@GenerateSequenceResponsehttp://tempuri.org/@GenerateSequenceResultâ„¢UNI-0000001544
3. Next LoadRunner request where the UID (UNI-0000001543) has to be replaced with the UID received in the response
web_custom_request("SubmitChanges", "URL=http://infinityappload/ClientBin/Infinity-Web-Services-ActorDomainService.svc/binary/SubmitChanges",
. . . , "BodyBinary=@\rSubmitChanges\
. . .
\tPatientID\\x99\\x0EUNI-0000001543
\... LAST);