cancel
Showing results for 
Search instead for 
Did you mean: 

How to Store executed request Response from VirtServer to local

Contributor

How to Store executed request Response from VirtServer to local

Hi,

I have virtualized few services and those service is called by real system. Whenever we call the virtualized serive from real system the request and response is been displayed in virtserver transaction log. 

My requirement is how can i store all the executed request response in Local automatcally.

Note: in Soapui we can store when we use the client as Soapui. But i need to take a req/res from virtserver in every execution 

3 REPLIES 3
Community Hero

Re: How to Store executed request Response from VirtServer to local

Hi,

 

> how can i store all the executed request response in Local

What does storing "in Local" mean?

 

Can you provide more details about your scenario? Do you need to store responses provided by the Virtual Server? What for? Can't you use the logging functionality of the real system clients?

 

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/
================================
Contributor

Re: How to Store executed request Response from VirtServer to local

Hi,

Thanks for your reply Smiley Happy

The real service log is not having request response details. I need a pair of executed virtual services. The virtserver log is havingonly limited things and every time i need to capture the request/response manualy. So is there any other way to retrieve the request and response the way we do store request and response in sopaui.

 

Note :

Virt server is running in different ip and service running in different ip

Moderator

Re: How to Store executed request Response from VirtServer to local

Hi Priyanka,

 

You can try to capture requests and responses using the OnRequest or AfterRequest scripts: https://support.smartbear.com/readyapi/docs/servicev/configure/scripting.html and write data to a file.

 

Groovy File Examples: http://grails.asia/groovy-file-examples

 

 


Anastasia
Customer Care Team


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors