Ask a Question

How to mock an asmx service

Chandrakanth
Occasional Contributor

How to mock an asmx service

I have an asmx service and want to mock that.

I tried that url by adding wsdl at the end but still its not getting mocked in ReadyAPI.

For Example I have a URL like http://www.sample.com/Test.asmx

and If I add WSDL at the end like http://www.sample.com/Test.asmx?wsdl .

The mock should be done but thats not working.

Can Anyone suggest on this???

@Rama16 

 

3 REPLIES 3
AlexKaras
Community Hero

Hi,

 

Considering that you are mentioning wsdl file, you need to virtualize SOAP web service.

Have you read the https://support.smartbear.com/readyapi/docs/servicev/virts/soap.html help article?

Does it help?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Chandrakanth
Occasional Contributor

I tried to do it as mentioned in the article and its asking for authentication.

I entered the NTLM Credentials but its not going further.


image.png

After Entering my credentials its repeatedly asking for credentials.

My co-employee(Who has access and permissions to all the services and roles) tried with his credential too but still it shows the same error.

Its not going further from the above step.

 

@AlexKaras 

@Rama16 

Hi,

 

You need to consult with the developer of this web service what authentication is required for it.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: