LoadRunner Webservice Soaprequest


Hi Everyone

I've been having a bit of a battle with load runner 2020 and LR 12.6 in trying to get a successful response to a web service request and tried multiple ways as below 

First: I tried  to import WSDL which have a MTOM Body but getting error that WSDL is not loaded successfully. 

Second : I tried to add a soap request as below but get an internal error below sample of the structure used 

any recommendation 


 soap_request("StepName=SOAP Request",                                        
        "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">"

-Also I tried adding request in "SOAPACTION" instead of above  and adding wsdl in SOAPEnvelope section but get same internal error 


  • Hi, 

    in add to the suggestion by Fei Gao, can you try a web_rest() or web_custom_request() with a function as below? Pay attention on <wsa:Action> tag: you should found the SOAP schema endpoint with a SoapUI test (view raw, so you can see all the details of your SOAP request). 

    "<soapenv:Envelope xmlv1:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">"
    "<v1:Messaging soap:mustUnderstand=\"0\">"
    "Name=UserHandlerName", "Value=LrWsAttachmentsHandler", ENDHEADER,

    Have a nice day,


  • Are you now at LR2020? Have you tried with LR2020SP3?

    Which toolkit are using? .net, axis or wcf?