ContributionsMost RecentMost LikesSolutionsCan't load a workspace Hi Folks, Ready API 1.5.0 became unresponsive and I did ctrl+ALT+Del to close the ready api, this is did 4-5 times in past without any issues. When I try to open Ready API today, it says can't open workspace. My workspace file has now extension.bak on my locale. I copied that in another folder and try to open I by selecting switch workspace ( I did remove .bak as exnteions from file) get error as " com.eviware.soapui.support...... 2292:31:error:Unexpedted end o file aftr con:id". Please refer attached pic. Can someone please guide what I am missing? Re: Groovy Script assertion count Thanks a bunch. Groovy Script assertion count Hi, Can someone please guide me how to use count in groovy script assertion? My response is as below: I want to count occurrence of text "name", "lastName" etc from below response. I want to include it in script assertion and can not use json count match. { "created": { "event": [{ "name": "Joe", "lastName": "Matt" }] }, "notcreaed": { "event": [] } } Re: Two different REST endpoints for each environment - how to handle this? Thanks for reply. I do have 2 different servers in my test environment and I am testing against both at the same time. Ex. get data from one server and run the test case with that data on different server. I will explain it below. I generate the test data from this endpoint: www.abc.com using REST call. And then I do retrieve the data from endpoint www.xyz.com using the REST call. Does this help? Thanks. Two different REST endpoints for each environment - how to handle this? Hi, I am using Ready API 1.5.0 SOAPUING. For each enviroment, I do have two different REST endpoints. When I set up the environment, I can only give one endpoint for REST. How to give two different endpoints for same environment? Even if I set second endpoint through property, it won't work when I change the environment. Please see an example below: Environment A : has two different endpoints - C and D Environment B : has two different endpoints - X and Y. Thanks.m Re: How to convert json object into json string Thank you very much for your reply. It was helpful, I got the clue. What worked for me is adding toString() at the end , to get the value in my string. How to convert json object into json string Hi, I am using Ready API 1.5.0. I have a json request with one of the value as- "value":12345. I have a groovy script where I get this json object through 'Get Data' and I am trying to add 1 in to make it from 12345 to 12346. But through groovy script what I get is json object so when I try to add 1, it comes as 123451, it is appending "1" to "12345" instead of adding it . Can you please guide me how to convert json object into json string so that I can add number? Thanks. Solved