Forum Discussion

nayerehgh's avatar
nayerehgh
New Contributor
10 years ago

How to Create REST Request from response of pervious request

Hi
I have a URL that show REST Services. The run Flow of it should be followed by <link> tag on response of each request.
for example, when run the URL in SOAPUI Pro through a REST Request, I get this as response:


<form xsi:noNamespaceSchemaLocation="viewFormat-1.2.xsd" locale="fa" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<texts textCount="1">
<text>WelCome</text>
</texts>
<link>http://192.168.21.17:82/telephonebank/main.do;jsessionid=88F28186C2290B44669A8875C1511988?execution=e1s1&amp;_eventId=prompted</link>
</form>



the next request should be: "http://192.168.21.17:82/telephonebank/main.do;jsessionid=88F28186C2290B44669A8875C1511988?execution=e1s1&amp;_eventId=prompted"
and so on.
I have a Framework for automatic testing SOAP Web Services but i am new with REST Services.
please help me "how do I create new next request from value of Link and how i make a framework for testing Automatic"

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3
    If you are soapui pro user, please post in pro boards for quicker resolution.
    You say there is framework, then doesn't it take care of the situation?