Forum Discussion

viniHD's avatar
viniHD
New Member
2 days ago

How do I create a JSON file?

I need to run tests on the financial module's dataserver, and I need to take the test results and deliver them in JSON format to see how the webservice is working.

It's my firts time using soap ui and i dont even know what im doing

1 Reply

  • jkrolczy's avatar
    jkrolczy
    Super Contributor

    I do something like this in the area for reporting results in qTest.
    (I need a JSON file for API use into qTest.)

    From my Test Suite, as each test script runs in SoapUI OS,  in my TearDown Script (per each test script) I have code to write specific results in the format I desire into a txt file.

    After all my scripts are ran, my last script script call is to a call a PowerShell script that read in my results from my .txt file and I create and format my JSON file from here.

    A cool little process that works great!