Forum Discussion

manjushak15's avatar
manjushak15
Occasional Contributor
9 years ago

Save mock response in Test Case using soapui 5.0.0

2 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Can you take a moment to precise your question and add the details, please?
    • manjushak15's avatar
      manjushak15
      Occasional Contributor

      Thank you for the reply.

       

      I have to do Test Automation for Request,Response and Mockservice Response.

       

      Following is my SOAPUI Project structure:
      Project Name: CurrencyConverter
      Request Name: GetConversionRate
      Mock Service : ConverterMockService

       

      Following is my SOAPUI functional TestSuite:
      TestSuite Name:ConverterSoapTestSuiteAssertion
      TestCase: GetConversionRate TestCase
      Test Steps:
      1. Get fromcurrency,tocurrency names from file.(For Input data of request CurrencyConverter)
      2. Execuete request "GetConversionRate"
      3. Save xml Request and response of request "GetConversionRate" at local drive of windows pc
      4. Run MockService "ConverterMockService" and receive mockservice response
      5. Save xml response of MockService at local drive of windows pc

      how to write test step no 4 and 5 in SOAP UI 5.0.0 Test Case