LoadRunner Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Posting XML messages through LR 11.52 - Help Required

Regular Visitor

Posting XML messages through LR 11.52 - Help Required

Hi All,

 

In my project I have to post XML messages to the host server and see how the server is reponding.

But I dont have the WSDL or the host URL. I have tried using Web service protocol. But it needs either WSDL file or the Host URL.

 

I have only hostname, port and the credentials.

 

Please help. Let me know if you need more information. Its a kind of urgent.

3 REPLIES

Re: Posting XML messages through LR 11.52 - Help Required

Hi,

 

Please try to import a simple web service with this URL: https://16.59.124.174/WebServices/Yaron/MyWebServices/Services/SimpleService.asmx?WSDL

 

In case you cannot import from this URL, i also attach WSDL file: SimpleService.wsdl at here.

 

Please try with it.

 

Thanks,

Phuong Nguyen

From HP LR

Regular Visitor

Re: Posting XML messages through LR 11.52 - Help Required

Hi, Thanks for your reply. I tried to add the WSDL in both the ways you mentioned. I m getting the incompatibility issue in both ways.

 

I m have tried in LR 11.52 and LR 9.52. Same result.

 

But I m confused how I can use your WSDL for posting my XML messages. It depends on the application right?.

 

Please help...

Highlighted

Re: Posting XML messages through LR 11.52 - Help Required

Hi,

 

I am sorry if I had confusion with your question. I thought you need a sample to test how webservice protocol process the messages.

If you want to send your XML messages to a host server, you have to know the URL to process your message.

WebService protocol is based on HTTP protocol, so if you don’t know the URL or host server doesn’t expose a URL that means we cannot use webservice protocol in this case.

In case you know a URL, we can use soap_request command to send xml messages. We don’t need a wsdl file, but at least, we need to have a URL to send the message to.

 

I have a question, can you access to this URL: http://<your hostname>:<port>? If you can access to it, I think you can try with soap_request command.

Please let me know if you need any more information.

 

Thanks,

Phuong