If your client is installed on a non-Windows environment it may be possible to configure your client to route requests via the SilkPerformer recorder rather than directly to the server. This would involve configuring your client proxy setting to point to a Windows based machine on which SilkPerformer is installed. The SilkPerformer recorder will act as a proxy and forward the client requests to the server and route the server responses back to the client while recording the traffic generated. Steps to set up the SilkPerformer recorder as a proxy: Configure your client application to point to the SilkPerformer Controller on a free port e.g. 8080. This port may be changed but you will also need to change the listening port in SilkPerformer, see step 3 below. In SilkPerformer go to "SETTINGS | SYSTEM | RECORDER | PROXIES" and Edit the SOCKS proxy. In the Proxy Type field ensure that the Listen Port is the same as that which you configured in the client proxy setting as in step 1 above e.g. 8080. The SilkPerformer recorder will now listen for traffic on port 8080. Click on the Proxy/Firewall radio button and in the "Remote Host" field enter the server name or IP Address and in the "Port" field enter the port number on which your server expects to receive traffic from the client. You have now configured your SilkPerformer machine to act as a proxy and you should be able to record the traffic generated between client and server. Recording: To Record your script open SilkPerformer and choose "RECORD |RECORDER".This will open up the recorder which starts listening for requests on port 8080.Once you open your client application and make a request to the server you should see functions being incremented in the Recorder. (It is important to open the Recorder before launching the client application.) When you have finished your test, close the client application, stop the recorder and save the script. If you require assistance with any of the above steps please contact Support.
↧