Hi ,
Is it possible to reuse request object for another object???
For Eg.
I created Request object using RestRequestObjectBuilder for Authentication.How i will use same object for another request.
RequestObject reqObj = new RestRequestObjectBuilder()
.withRestRequestMethod(‘POST’)
…
…
.build()
Thanks. Please help me reuse request object…
Ibus
2
Why don’t you use the GUI to make an Web Request in the Object Repository?
Than you can reuse it as many times as needed using findTestObject()
1 Like
Ibus said:
Why don’t you use the GUI to make an Web Request in the Object Repository?
Than you can reuse it as many times as needed using findTestObject()
i m testing only API so thats the reason i m raised question?
Ibus
4
i am testing API’s too (and sometime databases)
so … what is the point? if you test api only, it is forbidden to use the existing features?
the object repository is available in both templates, Generic and Web/API style …

have you ever tried to read the provided katalon docs?
https://docs.katalon.com/katalon-studio/docs/apiweb-service-project-since-v58.html#toolbar
plm.png
1 Like