JSON value to store in variable

Greetings,

Katalon 5.8.3 & 5.10.0 (Windows)

Unable to store JSON value in a variable of Object Repository (GET - Web Service Request).

Note: Able to store much bigger JSON value of 500+ line in a variable of Object Repository (GET - Web Service Request).

example: “[{
“headerAttributes”: {
“Owner”: “Owner1”,
“Description”: “Description1”
},
“Id”: “1”
}, {
“headerAttributes”: {
“Owner”: “Owner2”,
“Description”: “Description2”
},
“Id”: “2”
}]”

Hi,

what error do you get? Please provide further info about your issue.

On Windows, no Error but unable to store JSON response as is (may be / due to CRLF); only first line get stored but in Test Object I can store Complete JSON.

On Mac, complete Json having 500+ lines get stored in a variable

The first image is test object for WebUI Element, while the second image is test object for web service. I am not sure why you want that scenario?

I want to store Complete JSON in second image (i.e in web service variable). Please ignore first image, as I want to tell / show, able to store JSON in first image

1 Like

I got you know. It seems a bug, or not supported yet in Katalon Studio