Rest request in a Test Case disables the Resource and Parameters fields / Add Parameter to Resource
After working through the details of a series of requests I have strung them together in to a Test Case by using the 'Add Request to Test Case' feature.
Once I do this .. the Resource and Parameters fields become greyed out ...I also can't add new fields to the Form or Request tabs (i.e. no plus sign) .. is this normal? I normally test Soap API's and I can easily pick up data from one request and pass it in to the next using ReadyApi but not here (perhaps my ignorance of Restful requests is showing).
This is my workflow (a portion of it):
Step 1 create a shopping cart which generates Cart Id 1001
Step 2 convert the cart by using the Id in Step 1
Unlike in Soap test cases I see no way of seeding the following request from a response if key fields are greyed out.
Hi thatsthat
You can add cartid in the resource url directly in the api definitions, like this "/api/cart/{cartid}". I would prefer cartId to be honest, that's more in accordance with naming standards, but I guess cartid would work as well...
Type should be template.
Note that this will probably impact any test cases you already have (the values for cartid will get blanked out).