2
Access value from REQUEST payload
Source: Kong/insomnia#3687 · opened by @ppazos
Is your feature request related to a problem? Please describe.
In requests and URLs it is possible to access / reference values from RESPONSE payloads but is not possible to use a value from a REQUEST payload.
Describe the solution you'd like
As we can reference RESPONSE payload values, add a REQUEST payload value reference.
Describe alternatives you've considered
This case doesn't seem to be supported right now, tried some plugins, no plugin can access a specific value from a specific JSON path from the REQUEST payload of another request.
Additional context
A use case I have:
1. Request A has a JSON in the payload, which one field is a randomly generated value (e.g. using the UUID generator)
2. Then on a Request B payload, the randomly generated value from the Request A JSON payload y required, because executes an action over an element identified with that value.
In requests and URLs it is possible to access / reference values from RESPONSE payloads but is not possible to use a value from a REQUEST payload.
Describe the solution you'd like
As we can reference RESPONSE payload values, add a REQUEST payload value reference.
Describe alternatives you've considered
This case doesn't seem to be supported right now, tried some plugins, no plugin can access a specific value from a specific JSON path from the REQUEST payload of another request.
Additional context
A use case I have:
1. Request A has a JSON in the payload, which one field is a randomly generated value (e.g. using the UUID generator)
2. Then on a Request B payload, the randomly generated value from the Request A JSON payload y required, because executes an action over an element identified with that value.
No pledges yet. Be the first to back this.
Comments
Similar requests
Websocket: one connection, multiple payloads
16 votes · 0 comments
In Test, how does one send custom GET request that is not the specific request the test is for?
1 vote · 0 comments
Add support for Database Access like REST/SOAP/GraphQL
1 vote · 0 comments
Override Environment for Testing a Request in Unit Tests
3 votes · 0 comments
Generate dummy grpc request json
7 votes · 0 comments
No comments yet.