<p>You can test basically any rest api call from postman, a free app that runs perfectly well in windows or Linux (or Mac I’m sure).  You don’t need anything special.</p>

<p>If you want to use Linux specific tools, you can sign up for AWS free tier and make a Linux box in minutes following any of their tutorials (it will be free for 1 year).</p>

<p>You can also use docker on your computer (including on windows).  Docker will be suitable for running most non GUI based or web GUI based Linux apps.  I see a locust image here for example - <a href="https://docs.locust.io/en/stable/running-locust-docker.html" rel="nofollow noreferrer">https://docs.locust.io/en/stable/running-locust-docker.html</a>.</p>

CC BY-SA 4.0
2020-03-19T19:11:04.740Z
Thank you, John! I'll look into it.
KidACrimson
CC BY-SA 4.0
2020-03-19T00:46:26.710Z
2020-03-19T00:46:26.710Z
John Humphreys
<p>I work in Enterprise CloudOps Support and the products we support use Rest API for notifications. Frequently we get requests to help troubleshoot solutions like Pager Duty, PagerTree, ServiceNow, etc. Obviously I can't and won't signup for trials of these products, nor do I need to know them. However, I <em>do</em> need to know how Rest API works and how to set it up. I've been researching it and so far all I've found is this MS DevOps write-up: <a href="https://microsoft.github.io/PartsUnlimitedMRP/pandp/200.1x-PandP-LocustTest.html" rel="nofollow noreferrer">https://microsoft.github.io/PartsUnlimitedMRP/pandp/200.1x-PandP-LocustTest.html</a></p>

<p>However, as of yet <a href="https://serverfault.com/questions/1007330/cannot-pip-install-flask-in-python3-6-virtual-environment">I can't seem to make sense of some of the steps</a>. I thought there must be a better way, so here I am. Ultimately what I'm after is a VM that I can build in a lab and use for testing Rest API calls that relay notifications, alerts, etc.   </p>

<api>
How can I build a Linux VM that I can use to test Rest API calls in a lab?
KidACrimson
# How can I build a Linux VM that I can use to test Rest API calls in a lab?

(Asked by: username_0 on 2020-03-18)

I work in Enterprise CloudOps Support and the products we support use Rest API for notifications. Frequently we get requests to help troubleshoot solutions like Pager Duty, PagerTree, ServiceNow, etc. Obviously I can't and won't signup for trials of these products, nor do I need to know them. However, I *do* need to know how Rest API works and how to set it up. I've been researching it and so far all I've found is this MS DevOps write-up: <https://microsoft.github.io/PartsUnlimitedMRP/pandp/200.1x-PandP-LocustTest.html>

However, as of yet [I can't seem to make sense of some of the steps](https://serverfault.com/questions/1007330/cannot-pip-install-flask-in-python3-6-virtual-environment). I thought there must be a better way, so here I am. Ultimately what I'm after is a VM that I can build in a lab and use for testing Rest API calls that relay notifications, alerts, etc.

**Tags:** api


---

## 1 answers

### Answer by username_1 on 2020-03-19. Score: 1

You can test basically any rest api call from postman, a free app that runs perfectly well in windows or Linux (or Mac I’m sure). You don’t need anything special.

If you want to use Linux specific tools, you can sign up for AWS free tier and make a Linux box in minutes following any of their tutorials (it will be free for 1 year).

You can also use docker on your computer (including on windows). Docker will be suitable for running most non GUI based or web GUI based Linux apps. I see a locust image here for example - <https://docs.locust.io/en/stable/running-locust-docker.html>.

> **Comments:**
> **username_0**: Thank you, John! I'll look into it.  

---

