LoadRunner Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Silverlight Soap Request - How to handle MessageID

SOLVED
Go to solution
Highlighted
liviya
Regular Collector

Silverlight Soap Request - How to handle MessageID

Hi,

 

I don't know how to handle messageID in silverlight_soap_request. This message is different for all soap requests. Even, I cannot find this messageID in server response to correlate. Below is the Silverlight soap request.

 

silverlight_soap_request("StepName=GetUserDetails", 
        "URL=https://xxxxxx.xxxx.xxxxx/"
        "xxxx.svc", 
        "SOAPEnvelope="
            "<s:Envelope xmlns:s=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:a=\"http://www.w3.org/2005/08/addressing\">"
                "<s:Header>"
                    "<a:Action s:mustUnderstand=\"0\">http://tempuri.org/IAuthenticationService/GetUserDetails</a:Action>"
                    "<a:MessageID>urn:uuid:3b0b011f-1086-467e-8230-293a20e38feb</a:MessageID>"
                    "<a:ReplyTo>"
                "<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>"
                    "</a:ReplyTo>"
                    "<a:To s:mustUnderstand=\"0\">https://rxxxxxx.svc</a:To>"
                  "<a:To s:mustUnderstand="0">

                "</s:Header>"
                "<s:Body>"
                    "<GetUserDetails xmlns=\"http://tempuri.org/\">"
                        "<request xmlns:b=\"http://schemas.datacontract.org/2004/07/xxxxxx\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"></request>"
                    "</GetUserDetails>"
                "</s:Body>"
            "</s:Envelope>", 
        "Snapshot=t2.inf", 
        "ResponseParam=response", 
        "UserHandlerName=LrBinaryEncodingHandler", 
        LAST);

 

Please suggest how I can handle this messageID.

 

Regards,

Deepak

 

5 REPLIES
vmanolova
HPE Expert

Re: Silverlight Soap Request - How to handle MessageID

Hi,

 

1. In snapshot layout go to the corresponding step.
2. In the request of the recording snapshot you should see urn:uuid:3b0b011f-1086-467e-8230-293a20e38feb 3. Switch to Response
4. There you can see the same value but it is not as Message ID. Most probably it will be "Relates To".

5. Double-click the value and you will see a window next to it will automatically go to the value.
5. Right-click the new place where you see the value located and select save value in parameter.

 

 

Kind regards,

 

HPE Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution and give Kudos to the author for their assistance.
liviya
Regular Collector

Re: Silverlight Soap Request - How to handle MessageID

Hi,

 

Thanks for your response.

 

I have done following things but there is no change in script.

 

We have to replace messageid with parameter?

 

Regards,

Deepak

vmanolova
HPE Expert

Re: Silverlight Soap Request - How to handle MessageID

Hi Deepak,

 

Could you please open a case with support and provide the script for review?

 

Kind regards,

Vesela

HPE Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution and give Kudos to the author for their assistance.
liviya
Regular Collector
Solution

Re: Silverlight Soap Request - How to handle MessageID

Hi,

 

After scripting on another machine, issue got resolved.

 

Regards,

Deepak

Bikashchand
Occasional Advisor

Re: Silverlight Soap Request - How to handle MessageID

Hi,

Is that MessageID is generated  in other machine?

 

Thx

//Add this to "OnDomLoad" event