Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launches remain in progress from Postman if you have more than a single string for a name. #63

Closed
dantench opened this issue Sep 22, 2021 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@dantench
Copy link

When running with tests in postman like this:

pm.test("StoryID:" + request.name + " Response status is 200", function () { pm.response.to.have.status(200); });

Then the launch / items remain in progress forever and no results are ever logged

image

When we switched to:

pm.test("StoryID: Response status is 200", function () { pm.response.to.have.status(200); });

Then it started working:

image

There were no logs... or helpful information to determine this problem, it took several days of trial and error to find this issue. The request.name function in Postman literally just inserts the name of the request being made. This is there to make the names of the tests unique to solve an issue with the Junit parser in Bamboo.

We have a choice of incorrect results in bamboo and it working in Report portal. Correct results in bamboo and no results in report portal, or hard coding a unique name in our test suite and both work, but we introduce bad practice. We also tried creating a unique name as a variable and then passing in the variable string to the test name... report portal didn't like that either.

@dantench
Copy link
Author

See: #60 I believe they are the same issue.

@chivekrodis
Copy link
Contributor

It seems that it similar to #60

@chivekrodis chivekrodis added the duplicate This issue or pull request already exists label Oct 19, 2021
@AmsterGet
Copy link
Member

Closed as duplicate of #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants