How can you test a web application which is only accessible from your workplace or behind a firewall?
There are 4 solutions for this situation.
The easiest way would be to whitelist our list of Secure Gateway IPs:
|Secure Gateway IP Addresses|
If you want to use Real IP Geolocation in your tests, you'll have to add these entries to the whitelist as well:
|San Francisco, US||126.96.36.199|
|Seoul, South Korea||188.8.131.52|
You can also request your own Static Secure Gateway IP address, which will not be listed in our Documentation and it will be available only for your team.
If your Web Application requires HTTP Basic Authentication, just add the username and password in the URL:
All the user agent strings from our cross-browser cloud contain the string
endtest at the end.
You can also configure the
Proxy IP setting for each test suite, this allows the traffic from that test to go through a Proxy Server from your side.
It's also worth mentioning that our company has an ISO 27001 Information Security Certification.
More details about our security policies are available in the Security section.
Our platform can access local web applications or web applications with restricted access by using ngrok.
ngrok is a tool that exposes a local port to the internet via a secure tunnel.
That tunnel can be used to allow our machines to access your web application and test it.
You will need to sign up for a free ngrok account, then download and unzip the program.
After that, you will need to set your authentication token which is available in your ngrok account.
./ngrok authtoken [TOKEN-HERE]
Your web application is either running locally on your machine (localhost), or it’s running on a private server (with it’s own URL).
If the web application is running locally on your computer, you will need to know which port it’s being served on.
This is typically port 80, but may be something different.
For example, if your web application can be accessed at http://localhost:9000, then the port is 9000.
To open the tunnel, execute this command for the specific port number:
./ngrok http 9000
If your web application is running on a private server then you are likely using a URL like http://private.example.com to access it.
In this case, you’ll create a tunnel to that URL using this command (with the private server URL swapped in):
./ngrok http -host-header=rewrite private.example.com:80
If you open this ngrok.io URL in your browser, you’ll see the website.
Record your tests using this ngrok.io URL and our platform will be able to access your web application and run the tests.
You can exit the ngrok process at anytime to disconnect the tunnel.
When you want to execute your tests again, start ngrok again by using the same command you used earlier.
Each time you restart ngrok, a new URL will be provided.
You should use a variable for the URL in your test, so you can update it in only once place or simply provide it directly in the Endtest API request for starting the test execution.
The third option would be to Export the test, but you will be able to run it only on your local infrastructure.
More details are available in the Export Web Tests chapter.
The fourth option would be to go with our On-Premises version, which is part of our Enterprise Plan.