Questions tagged [newman]

Newman is a wrapper around Apache HttpClient for Scala. It allows request and response serialization, supports ETag HTTP caching and in memory response caching with TTL expiry.

Newman is a wrapper around Apache HttpClient for Scala. It allows request and response serialization, supports ETag HTTP caching and in memory response caching with TTL expiry.

It also allows to shrink code for classical Apache HttpClient requests and provides nice syntax features thanks to a custom DSL which allows to write very simple and readable code.

Newman is a Node.js module. For more details refer to newman (NPM).

Using Newman, one can effortlessly run and test a Postman Collections directly from the command line. It is built with extensibility in mind, so that you can easily integrate it into your continuous integration servers and build systems.

421 questions
-1
votes
1 answer

Cant able to install newman error is reason: self signed certificate in certificate chain npm ERR

npm ERR! code SELF_SIGNED_CERT_IN_CHAIN npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN npm ERR! request to https://registry.npmjs.org/newman failed, reason: self signed certificate in certificate chain npm ERR! A complete log of this run can be found…
-1
votes
1 answer

(some) Tests fail when running Postman collection via Newman but pass when running in Postman

When running my Postman collection, I receive 0 errors throughout the whole suite, but in Newman the tests in two requests fail. These are my PM tests + relevant body: testsuite = "T5 - FeederConfigurator - Unit - Calculate - " var jsonData =…
Frank
  • 1
  • 1
-1
votes
1 answer

POSTMAN in Docker GET error (connect ECONNREFUSED)

I have a UI running on 127.0.0.1:80 through a docker container. I tested this via Chrome and Postman Client app which works well. When I try to export GET test case from Postman Client app and running it through a separate container, I receive this…
CFD
  • 607
  • 1
  • 11
  • 29
-1
votes
1 answer

How do I access and update global variables in postman from newman run

The postman collection is within a team workspace(not public), so unable to access the collection from newman via link. The use case here is- I have around 5 scripts in my collection and the output of the first script will be saved as a global…
Shar
  • 1
  • 3
-1
votes
1 answer

how to specify on newman what port and host to run on

I'm trying to integrate Newman(postman CLI tool) in my app, and I want to run it first on the localhost on a specific port, and change it in accordance later on. Any suggestions on how to do that with the CLI?
Aviad
  • 33
  • 8
-1
votes
1 answer

Postman Newman Jenkins Java integration

I've been struggling to envision how this would work due to my lack of experience with these technologies, so I am asking here to try to get some answer. So this is the story: I have some postman tests(collection) which I am planning to run with…
whatismyname123
  • 149
  • 1
  • 13
-1
votes
2 answers

Postman in circleci - Error calling workflow: 'workflow'

Trying to run simple postman API calls but getting Error calling workflow: 'workflow' My .circleci/config.yml is $ cat .circleci/config.yml version: 2.1 orbs: newman: postman/newman@0.0.2 jobs: newman-collection-run: executor:…
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
-1
votes
1 answer

html extra works in cli, but not in Jenkins

when running this in cli, it generates the report. but when I use the same command in Jenkins, no report is generated. newman run "C:\WORK\getMix-REST.postman_collection.json" --reporters htmlextra --reporter-htmlextra-export…
Max
  • 3
  • 3
-1
votes
1 answer

Newmain process dies after processing about 10K requests running in a docker container as a Jenkins agent

I created an alpine based docker image and installed latest version of node and newman(4.5.4) there. This docker image is being used as a jenkins agent where i run my collections. Everything works fine, except when i have a larger data set. When the…
ishan
  • 1,202
  • 5
  • 24
  • 44
-1
votes
1 answer

Running postman scripts in bamboo CI server

my requirement is to run postman scripts in bamboo. We have a repository for the collection.json, however, as my environment file has some sensitive data like client_id, secret_id, username, password etc I can't push it to my repo. Please advise me…
Damu
  • 25
  • 4
-1
votes
1 answer

How can we use postman global variable in the jenkins

I am able to configure and execute postman/newman build with the jenkins with the use of postman collection's environment variable and its working fine. The issue is when i try to use global variable file along with the main collection and…
-1
votes
1 answer

How to use environmental variables in raw text data in Postman?

I'm unable to use the standard {{variable_name}} format for some reason. I'm making a POST request to log into a website that uses ASPX. I intercepted this request when I logged in normally and have been using it since. This is my current…
Arvind
  • 155
  • 3
  • 12
-1
votes
1 answer

get index from a JSON object with value in postman/newman

I am trying to retrieve an index by passing a reference of a value. I have some options of javascript but all those functions shows is not a function Getting error like below: TypeError | jsonData.getIndexOf is not a function I have tried options…
Shubham Jain
  • 16,610
  • 15
  • 78
  • 125
-2
votes
1 answer

How to set custom keyword for node project?

if i published my project, i can get through npm i if i want to use, i need to call like ./nodemodules/myproject [arg0] [arg1] or npx myproject [arg0] [arg1] but i don't want to call ./node.. or npx instead i want to use custom…
Jayanth Bala
  • 758
  • 1
  • 5
  • 11
-2
votes
2 answers

How to pass token value from one collection to another collection in POSTMAN - AUTOMATION | NEWMAN

I want to automate my unit test cases using POSTMAN Collections API & NEWMAN. I have created two test cases, which is working as expected. After exporting the collection from POSTMAN, I am generating the test report via NEWMAN. But there some API…
monojit
  • 605
  • 5
  • 19
1 2 3
28
29