Modify local host table

Is it possible to add an entry to the local host table?

We want to test against a local mock server and would like to update the host table to map “api.server.com” to 127.0.0.1 instead of a public IP address.

Thanks.

You can just write a line to /etc/hosts eg. from script step.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.