After following comments from this post -> http://answers.neotys.com/questions/1389620-automatically-update-json-request-body-application-updated-without-recording-everytime#answer_3136438
I created a dummy maven project but i get the below error:
Exception in thread "main" java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.http://www.http.HttpClient.openServer(Unknown Source)
at sun.net.http://www.http.HttpClient.openServer(Unknown Source)
at sun.net.http://www.http.HttpClient.<init>(Unknown Source)
at sun.net.http://www.http.HttpClient.New(Unknown Source)
at sun.net.http://www.http.HttpClient.New(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConnection.getNewHttpClie... Source)
at sun.net.http://www.protocol.http.HttpURLConnection.plainConnect0(... Source)
at sun.net.http://www.protocol.http.HttpURLConnection.plainConnect(U... Source)
at sun.net.http://www.protocol.http.HttpURLConnection.connect(Unknown Source)
at com.neotys.rest.client.NeotysAPIClientOlingo.execute(NeotysAPIClientOlingo.java:349)
at com.neotys.rest.client.NeotysAPIClientOlingo.readEdm(NeotysAPIClientOlingo.java:124)
at com.neotys.rest.client.NeotysAPIClientOlingo.<init>(NeotysAPIClientOlingo.java:102)
at com.neotys.rest.design.client.DesignAPIClientOlingo.<init>(DesignAPIClientOlingo.java:79)
at com.neotys.rest.design.client.DesignAPIClientFactory.newClient(DesignAPIClientFactory.java:59)
at com.neoload.userpath.FirstCase.main(FirstCase.java:37)
Please find attached the java file and the image file of arguments in Run configurations of eclipse...
Please have a look and let me know, what I am doing wrong.