-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
the case is no test when add pm.sendrequest () on Tests, only repro when run it with newman #1631
Comments
Hey @wangdongna, I'm not quite sure what the issue is here. Did you mean that the tests don't show up when |
Hi, Thanks for your quick reply. When pm.sendRequest is used in a test script, like this: pm.sendRequest(delUrl, function (err, response) {}); And run the collection which include the above test script in some cases, the result display no test. Thanks a lot! --Emma |
Sorry for close it with incorrect operation and now reopen it. I am sorry for that |
Duplicate of postmanlabs/newman-reporter-html#180 |
Version and environment information:
Newman Version (can be found via newman -v): 3.9.4
OS details (type, version, and architecture): Linux version 3.16.0-4-amd64 ([email protected]) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.43-2 (2017-04-30)
Are you using Newman as a library, or via the CLI? : CLI
Did you encounter this recently, or has this bug always been there: Always
Expected behaviour: It should be all run and without no test
I use the following command:
newman run xxx.postman_collection.json --environment xxx.postman_environment.json --delay-request 1000 --timeout-request 3000 --reporters html --reporter-html-export xxx/${folder}/xxx${file}.html --reporter-html-template xxx/htmlreqres.hbs>>xxx/log/info${folder}.log
Command / script used to run Newman: Script
Sample collection, and auxiliary files (minus the sensitive details):
Screenshots (if applicable):
The text was updated successfully, but these errors were encountered: