cancel
Showing results for 
Search instead for 
Did you mean: 

How to mock an asmx service

Highlighted
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
Community Hero

Re: How to mock an asmx service

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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Occasional Contributor

Re: How to mock an asmx service

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 

Community Hero

Re: How to mock an asmx service

Hi,

 

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

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================