Kong / Kong/insomnia

Chaining requests in TEST tab does not work

Open
#4,481 11 comments 5 reactions 0 assignees View on GitHub
B-bug S-verified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

I expect value from response will be used by other requests.

### Actual Behavior

Response value is used in other requests in DEBUG tab but if i want to use that function in TEST tab (test suite) then it does not work after cleaning history.

### Reproduction Steps

1 clear history
2 go to TEST tab and create test suite
3 set request sequence (1st value reproducing request, 2nd consuming response value request)
4 run

... and second request fails which is not happening in DEBUG tab

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

_No response_

### Insomnia Version

v2021.7.2

### What operating system are you using?

macOS

### Operating System Version

Monterey 12.2

### Installation method

homebrew

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the sequence in the TEST tab after clearing history, then compare it with the same request chaining in the DEBUG tab. Trace how the first response is passed to the second request during a test suite run; done means the second request receives the response value and succeeds consistently after history is cleared.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.