I'm working on an application which I'm having difficulty with the correlations and looking for some guidance. First, the application is a web based Java Application, has SSO authentication, and the application flow fills outs multiple forms on several different tabs and the final step uploads a document to the server.
We recorded the application workflow several time using several recording option configurations. HTML, HTML containing explicit URL only, and URL based script with the Port mappings set at Socket. When we correlated all the values properly the script replay still failed ending with HTTP 500 errors.
So we tried two other options for the recording:
1. I found that the SSO authentication was happening on the Oracle AS so we selected OracleApps under correlation in the Recording Options.
2. After some research I found that you can use the WinINet Port Mapping to help improve the functionality of the web_set_user fuction. We recorded the workflow with this Port setting along with URL based scripting and ran into an issue which I haven't seen in the past.
This recording was much more detailed and provides us with many additional points to correlate. Amongst these new points to correlate there is a unique ID (tiny&ID) which cannot be found in either the Request or Receive logs under snapshot views. When searching all documents I found the tiny&ID value in the CodeGeneration and RecordingLog but I don't know how use these files to correlate the script dynamically. Can you please provide input as to how I can best handle this correlation?
Lastly, can anyone provide me with an explanation to why we're seeing a different encrypted value for the password. The password is always the same but on each new recording it comes back looking different each time.
As you mentioned that you are getting Errors with HTTP Code 500, it means that request submitted by your script is submitting a value/values which are not acceptable at server level and hence generates an error.
1) Firstly, using Protocol adviser of LR, you should figure out the best protocol applicable for your application.
2) Secondly, if it comes out as HTTP/HTML, then generate the script using both WinINet and Socket as selected options for ports.
3) Search for your 'to-be-correlated' values in 'Generation log'. It is the best place to find all request-responses in one place.
4) If you are unable to find the value to be correlated, post your script here for better solution.
Bonus Reply! : Password encryption is done through a algorithm which will generate separate code each time you submit a same or different password. It works like 'Forgot password' functionality of many applications or web-sites wherein a new password is generated every-time you submit the request.