Running tunnel through automation test script

Hi all,

I was wondering if there is a way to programmatically initiate the tunnel and close it from my own test script.

I don’t want to manually start and stop the tunnel everytime I am running a test script. I write my scripts in Java

Hi Darran,

Yes, this can be achieved using our maven tunnel to programmatically set up the tunnel to start and stop as per your test case. You would not have to set up your tunnel manually every time after this. Here’s a doc: Maven Tunnel For Locally Hosted Web Applications | LambdaTest

You can find the latest maven tunnel dependency here: Maven Central Repository Search

1 Like