question

kmd6076 avatar image
kmd6076 asked kmd6076 posted

Is it possible to save REST session attribute/value pairs?

I am configuring a fairly long REST POST string using the REST session window but cannot find a way to save the attribute/value pairs after the session is executed.  I am attaching a screenshot showing the REST session window and would like a way to save all the attributes configured so if any need to be added I do not have to rebuild the entire string.  Is there a way to save these values or even the history of the REST urls used?

 

Thanks,

Ken

iTestGUI Testing(Web-Java Swing-etc)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
msandeep avatar image
msandeep answered msandeep posted

Hi Ken,

 

The modifications are associated with the (particular) step and also saved for the same step properties.

 

If you want to use the same attribute/value pair, you could check at  "Step Properties-->REST POST Properties-->POST Properties-->URL" of the already executed step.

 

Please let us know how it goes!!!

 

 

4 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kmd6076 avatar image kmd6076 commented ·

I am building my REST string in the REST session window and executing from there to test if it works before putting it into a test case.  I can use the Capture view to show executed REST queries but when a POST is successful the URL that was executed is not in the capture report for the session.

0 Likes 0 ·
msandeep avatar image msandeep kmd6076 commented ·

Hi Ken,

 

The command section should contain the details. Could you please let us knoe your exact iTest version.

 

Please attach the session profile and the capture report.

0 Likes 0 ·
kmd6076 avatar image kmd6076 msandeep commented ·

I have another post similar to this as I was unsure if the issues were related - see link below:

 

http://forums.fanfaresoftware.com/t5/General-iTest-Topics/Unable-to-add-successful-REST-POST-step-to-test-cases-com-fnfr/m-p/27621/highlight/true#M9592

0 Likes 0 ·
msandeep avatar image msandeep kmd6076 commented ·

thanks for the session profile.

 

Could you please attach the capture reports(.ffcz). you could save these from the capture view window.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.