Highlighted
Absent Member.
Absent Member.
79 views

How to handle the Binary code generated when recording HP QC 9.2?

I am trying to record HP Quality center version 9.2. The flow is we launch QC enter Username and password click on Authenticate Button then click Login Button.
After Logging in we create a new requirement then Logout from QC.
Issue Faced: BodyBinary codes getting generated Dynamically in the script when we run the script it gives 403 status code.
Protocol used: web(Http/Html), Winsocket and Web/Winsocket.
Binary Code:

"BodyBinary={\r\n0: \"0:conststr:Login\",\r\n1: \"0:int:2\",\r\n2: \"0:int:-1\",\r\n3: \"0:conststr:\",\r\n4: \"0:int:-1\",\r\n5: \\x5C00000049\\x5C0:conststr:{\r\nUSER_NAME:PerfTest1,\r\nPASSWORD:,\r\nCLIENTTYPE:OTAClient\r\n}\r\n,\r\n6: \\x5C00000014\\x5C0:conststr:PV46892V1,\r\n7: \"65536:str:0\",\r\n8: \"0:pint:0\",\r\n9: \"65536:str:0\",\r\n10: \"0:pint:0\",\r\n11: \"0:pint:0\"\r\n}\r\n",



Please give suggestion to resolve this issue.
0 Likes
3 Replies
Highlighted
Absent Member.
Absent Member.

Hello,

I have worked on conducting performance tests for QC 9.2 and the only trick for scripting QC is to correlate the consstr values. In your case it is PV46892V1.The rest of the variations in the body binary do not affect your execution. Once you correlate this you will be able to complete your login successfully. Observe the run-time viewer as the replay log will not be very helpful. The next point where you see error in your run-time viewer and your script failing would be the next point requiring correlation.

Hope this helps

Thanks
Prashanth T
0 Likes
Highlighted
Absent Member.
Absent Member.

Thanks Prashant for your help. I will correlate the value and let you know whether it has worked or not.
0 Likes
Highlighted
Absent Member.
Absent Member.

Hi Prashanth and Shivasankari,

I hope you were able to successfully performance test the QC using Load Runner.

I also believe that you have used the Multiple protocol : Web(HTTP/HTML) + Web Services.

I tried to use this combination protocol to record a QC flow and while importing the QC services I got the below error:

The Service Test Management module is required in order to import services from Quality Center. The version of Quality Center to which you are connected, does not have the module installed.

What does this error mean? I am using QC 9.2 and LR 9.1.

Am I using the correct protocol? Any other settings that need to be done in QC Database to carry out performance testing?

Any help would be appreciated.

Thank you
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.