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

The process 'C:\npm\prefix\newman.cmd' failed with exit code 1 #109

Open
alexbypa opened this issue Jan 6, 2025 · 0 comments
Open

The process 'C:\npm\prefix\newman.cmd' failed with exit code 1 #109

alexbypa opened this issue Jan 6, 2025 · 0 comments

Comments

@alexbypa
Copy link

alexbypa commented Jan 6, 2025

This the YAML:
steps:

  • task: carlowahlstedt.NewmanPostman.NewmanPostman.NewmanPostman@4
    displayName: 'Newman - Postman'
    inputs:
    collectionFileSource: '$(System.DefaultWorkingDirectory)/_HubLivePlay/HUB.postman_collection.json'
    Contents: '**/*collection.json'
    environmentSourceType: none
    ignoreRedirect: false
    bail: false
    sslInsecure: false
    reporters: 'cli,html,htmlextra,json,junit'
    htmlExtraDarkTheme: false
    htmlExtraLogs: true
    htmlExtraTestPaging: false

Here the last logs :
2025-01-06T14:53:17.4043678Z │ │ executed │ failed │
2025-01-06T14:53:17.4060948Z ├─────────────────────────┼──────────────────┼──────────────────┤
2025-01-06T14:53:17.4071331Z │ iterations │ 1 │ 0 │
2025-01-06T14:53:17.4072488Z ├─────────────────────────┼──────────────────┼──────────────────┤
2025-01-06T14:53:17.4073093Z │ requests │ 1 │ 0 │
2025-01-06T14:53:17.4073625Z ├─────────────────────────┼──────────────────┼──────────────────┤
2025-01-06T14:53:17.4074104Z │ test-scripts │ 1 │ 0 │
2025-01-06T14:53:17.4074627Z ├─────────────────────────┼──────────────────┼──────────────────┤
2025-01-06T14:53:17.4075099Z │ prerequest-scripts │ 0 │ 0 │
2025-01-06T14:53:17.4075637Z ├─────────────────────────┼──────────────────┼──────────────────┤
2025-01-06T14:53:17.4076096Z │ assertions │ 2 │ 1 │
2025-01-06T14:53:17.4076610Z ├─────────────────────────┴──────────────────┴──────────────────┤
2025-01-06T14:53:17.4077070Z │ total run duration: 3.2s │
2025-01-06T14:53:17.4077587Z ├───────────────────────────────────────────────────────────────┤
2025-01-06T14:53:17.4078058Z │ total data received: 48B (approx) │
2025-01-06T14:53:17.4078580Z ├───────────────────────────────────────────────────────────────┤
2025-01-06T14:53:17.4079303Z │ average response time: 3.1s [min: 3.1s, max: 3.1s, s.d.: 0µs] │
2025-01-06T14:53:17.4079875Z └───────────────────────────────────────────────────────────────┘
2025-01-06T14:53:17.4265397Z
2025-01-06T14:53:17.4266915Z �[31m # �[39m�[31m failure �[39m�[31m detail �[39m
2025-01-06T14:53:17.4269907Z �[90m �[39m�[90m �[39m�[90m �[39m
2025-01-06T14:53:17.4270692Z 1. AssertionError Validate KO:
2025-01-06T14:53:17.4271069Z expected 1 to equal +0
2025-01-06T14:53:17.4271426Z at assertion:1 in test-script
2025-01-06T14:53:17.4271784Z inside "CHECK"
2025-01-06T14:53:17.4831325Z ##[error]The process 'C:\npm\prefix\newman.cmd' failed with exit code 1
2025-01-06T14:53:17.4842260Z ##[section]Finishing: Newman - Postman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant