Hi,
If you just need a property transfer to pass on value to subsequent step, you can use the following instructions - other people may have niftier ways of doing this though using groovyscript.
1. Highlight the attribute value (id = 66) in the response you want to transfer in the 'Outline' tab
2. Click on the 'Transfer to' button and select 'Add properties step' - a form dialogue generates entitled 'Create Properties step'.
3. Click 'ok' to accept the creation and name of the properties step (probably 'Properties 1')
4. A 'Create target property' form dialogue is generated. Replace the name with 'Action Code' and Click 'OK' to accept - this launches a 'Transfer to Property' form. Click on 'OK' to accept and close - this inserts a 'Property Transfer' step in the test case object hierarchy.
5. Right click, select 'insert step' and select to add in the POST request associated with your POST API
6. Ensure the POST is AFTER the properties and property transfer step in the test step hierarchy
7. Its at this point that depends on how you've setup the POST and which parameters you are populating - one option is to highlight the POST request in your test case, click on the Outline tab and click on Get Data and grab the value that is written to the Properties step.
REMEMBER - at this point though, the 'Action Code' property in the Properties step doesn't yet have a value to be transferred - you need to run the transfer to populate the Properties step with the '66' value, before the script will work - if you just execute the test - this will also run the transfer.
Hope this helps - this does link the ID value to the ActionCode property - although I dont know if this satisfies or not.
Cheers,
richie
Cheers,
rich