So I am trying to automate the API testing through Azure pipelines and I have to install "newman" every time which takes a lot of time. So is there any way that I do not have to install newman while running the pipeline? Or any other approach that can be used?
Asked
Active
Viewed 161 times
0
-
2Configure a self-hosted agent and install whatever software you need on it. – Daniel Mann Jun 13 '22 at 03:12
1 Answers
1
You could install "newman" on your Self-hosted agent and specify Self-hosted agent to run the "newman" job.
"newman" is not an included software for Microsoft-hosted agents. Check this link: [Microsoft-hosted agents for Azure Pipelines - Azure Pipelines | Microsoft Docs
Also, you could raise a feedback ticket to install "newman" as default software for Microsoft-hosted agents: [Suggest a feature - Visual Studio (Windows) | Microsoft Docs

Kim Xu-MSFT
- 1,819
- 1
- 2
- 4
-
Ok. Thanks for the answer. Apart from this I was also trying to run the Newman on docker container inside the pipeline but the one you suggested might be easier – saurabh2226 Jun 14 '22 at 03:09
-
Hi, so glad that my suggestion could help you with your issue. Would you mark this as an answer? – Kim Xu-MSFT Jun 15 '22 at 08:29