Contributions
Re: Mock Service Response
Thanks for the reply. I can able to saveRequest and response.At my following Step: 3. Save xml Request and response of request "GetConversionRate" at local drive of windows pc But my nextrequirenment is run virt and get virt response and save virt response and stop the virt.2KViews0likes2CommentsRe: Mock Service Response
Thank you for the reply. This script is for Response.(fror my test case step no #3) // Write the response from the "Test Request: login" TestStep to a file def currentUser = context.expand( '${#TestCase#currentUser}' ) def response = context.expand( '${Test Request: login#Response}' ) new File( "C:/Users/eviware/" + currentUser + "_response.txt" ).write( response ) for mockrequest response ?2.1KViews0likes6CommentsMock Service Response
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.0Test Case2.1KViews0likes8Comments- 850Views0likes2Comments
Re: Save mock response in Test Case using soapui 5.0.0
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.0Test Case814Views0likes0Comments