0

I have two services in test-suite, one with VIP URL and other with Version-based URL. Second services has a parameter depend on first service response. When I run Test-Suite, first service with VIP URL was passed and second service was Failed and giving response as 404. How can I run my test-suite, one service with VIP URL & second service with Version-based URL in Ready-API?

craigcaulfield
  • 3,381
  • 10
  • 32
  • 40
Surya
  • 1
  • 2

1 Answers1

0

Use a Property Transfer test step after the call to your first service to pull the required value out of the response. Set a test-case level property, called say serviceVersion. Then, use that property as the parameter of your second property with ${#TestCase#serviceVersion}

For more details about properties, see:

craigcaulfield
  • 3,381
  • 10
  • 32
  • 40
  • Thank you for your response. I got solution for the above question. We need to enable close connections after request in Preferences tab. – Surya May 29 '18 at 18:17