-
Notifications
You must be signed in to change notification settings - Fork 20
instruction to run with newman added #50
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
Open
soham4abc
wants to merge
9
commits into
postmanlabs:develop
Choose a base branch
from
soham4abc:documentation_update
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
6e17bc1
instruction to run with newman added
soham4abc 73b3438
Merge branch 'develop' into documentation_update
soham4abc b21eecf
Update README.md
soham4abc 36f1992
requested changes added and contributing.md added
soham4abc 3e362e9
typo fixed
soham4abc 2aab1e6
Update CONTRIBUTING.md
soham4abc 4b6c9b3
Update CONTRIBUTING.md
soham4abc 4adc104
Update CONTRIBUTING.md
soham4abc fb29470
changes as per request
soham4abc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,46 @@ Newman Dashboard aims to provide a real-time WebUI dashboard which can let you c | |
|
|
||
| This project was built during [Google Summer of Code 2021](https://summerofcode.withgoogle.com/projects/#5547391014404096) ☀️ with [Postman](https://github.com/postmanlabs) 🚀 | ||
|
|
||
|
|
||
| ## Usage | ||
|
|
||
| This package is both a reporter and a standalone package. The standalone package takes care of launching the dashboard, while the reporter connects to the newman run. | ||
|
|
||
| A. For installation: | ||
|
|
||
| ``` | ||
| npm install -g newman-dashboard | ||
| ``` | ||
|
|
||
| B. Launch the dashboard on `localhost:5001` | ||
|
|
||
| ``` | ||
| newman-dashboard | ||
| ``` | ||
|
|
||
| You can also choose to daemonize the dashboard using the `--daemonize` flag. | ||
|
|
||
| The dashboard frontend would now be visible on `http://localhost:5001/` | ||
|
|
||
| C. Connect a newman run to the dashboard | ||
|
|
||
| ``` | ||
| newman run collection.json -r dashboard | ||
| ``` | ||
| This will connect the run to the dashboard and you would be able to view its status on the frontend. | ||
|
|
||
| D. Run file with Newman | ||
|
|
||
| ``` | ||
| npm link | ||
|
||
| cd /path/to/newman | ||
| npm link newman-reporter-dashboard | ||
|
|
||
| bin/newman.js run -r dashboard collection.json | ||
soham4abc marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ``` | ||
|
|
||
|
|
||
|
|
||
| ## Environment setup | ||
|
|
||
| A. Install all dependencies | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should remove this because we've not published the package. See #51
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually source code for reporter is already there.
All we have to do is execute just one more command before this.
npm pack reporterThis will generate a .tgz file, in my case it was
newman-reporter-dashboard-0.0.1.tgzthen we can use
npm i -g newman-reporter-dashboard-0.0.1.tgzto install the package.@soham4abc are you still working on this? Or should I create an issue for creating a new CONTRIBUTORS.md file and work on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am working on this give me some time