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
Highlighted
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 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
================================
Highlighted
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 

Highlighted
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 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
================================
New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Filtering data retrieved from a DataSource

See replies!

Get data from Petstore and add it to Excel sheets

Participate!