Forum Discussion

ChristianB's avatar
ChristianB
Contributor
9 years ago

How to update test payload from REST resource's request definition?

Hi all,

 

When I update a resource's path, or add query/matrix parameters to a resource, these changes get "pushed" down into the test steps that rely on (i.e. are associated with) that resource. I'm wondering if the same functionality is available for payloads (request bodies) and request headers? 

 

For example, given a REST project consisting of a resource that supports a PUT request with payload, and a test case for that resource request, is there a way to update the resource request's payload and/or headers, and have that (change) reflected in the test case's test step?

 

Put differently: How can I push updates from a REST resource definition to associated test steps (when they concern the request body or request headers)?

 

 

copyPayload.png

 

Brgrds,

 

Christian

No RepliesBe the first to reply