Demo of TruQua's toolkit for accelerating load testing scenario generation. For software and services licensing information, please visit http://www.truqua.com.
Q1).What is Load Runner? Ans:HPE is a software testing tool from Hewlett Packard Enterprise. In Sept 2016, HPE announced it is selling its software business, including Mercury products, to Micro Focus.It is used to test applications, measuring system behaviour and performance under load. HPE acquired as part of its acquisition of Mercury Interactive in November 2006.
HPE LoadRunner can simulate thousands of users concurrently using application software, recording and later analyzing the performance of key components of the application. LoadRunner simulates user activity by generating messages between application components or by simulating interactions with the user interface such as keypresses or mouse movements. The messages/interactions to be generated are stored in scripts.
LoadRunner can generate the scripts by recording them, such as logging requests between a client web browser and an application’s web server. Which protocols are supported by?
Ans:As of Loadrunner 9.5 following protocols are supported. This will increase with future releases.
The interviewer is not looking for you to name all but a few (say 5-7 protocols). Application Deployment Solution: For the Citrix protocol. Client/Server: For DB2 CLI, DNS, MS SQL, ODBC, Oracle (2-tier), Sybase Ctlib, Sybase Dblib, and Windows Sockets protocols. Custom: For C templates, Visual Basic templates, Java templates, Javascript and VBScript type scripts.
Distributed Components: For COM/DCOM, Corba-Java, and Rmi -Java protocols. E-business: For FTP, LDAP, Palm, Web (HTTP/HTML), Web Services, and the dual Web/Winsocket protocols. Enterprise Java Beans: For EJB Testing and Rmi-Java protocols.
ERP/CRM: For Baan, Oracle NCA, Peoplesoft-Tuxedo, Peoplesoft 8, SAPGUI, SAP-Web, and Siebel (Siebel-DB2CLI, Siebel-MSSQL, Siebel-Web, and Siebel-Oracle) protocols. Legacy: For Terminal Emulation (RTE). Mailing Services: Internet Messaging (IMAP), MS Exchange (MAPI), POP3, and SMTP. Middleware: Jacada and Tuxedo (6, 7) protocols.
Streaming: For MediaPlayer and RealPlayer protocols. Which components have you used in?
Ans:Vuser generator – For generating Scripts Controller – For creating and executing scenarios Analyzer – To analyze results Q4).What is load runner Agent. Ans:Agent is interface between host machine and controller Q5).What is the process for developing a Vuser Script? Ans:There are 4 steps for developing a vuser script. 1-Record the Vuser Script. 2-Playback / Enhance the recorded vuser script.
3- Define the various run-time settings & check 4- Incorporate the script in a scenario Q6). How many VUsers are required for load testing? Ans:This is essentially a trick question. The number of VUsers required depends on your system under test, network configurations, hardware settings, memory, operating system, software applications objective of performance test.
There can not be any generic value for Vuser. What is the difference in running the Vuser as a process and as a thread? Which is more advantageous way of running Vuser? Ans:When Vuser is run as a process the same driver program is loaded into memory for each Vuser. This will take a large amount of memory and will limit the number of Vusers you can run on a single generator When Vuser is run as a thread, only one instance of driver program is shared by given number of Vusers. You can run more number of Vusers on a single generator using the multi-threading mode. Q8)What is the significance of “Vuser-init “?
Ans:Vuser-init records the pre-operations also called the initialization operations before the actual application is run. Q9).What is extended log? Ans:An extended log will store information such as data returned by server and advanced trace, parameter substitution and much other information depending on the options you select in run-time settings. How will you divide your script into multiple Actions? Ans:I will divide the script into Actions based on the functionality. For example, Once Action for Logining into Application, another Action for booking and so on.
Actions increase code reusability, reduce maintenance time and hence, decrease costs. How can you set the number of Vusers in? Ans:You can set the number of Vusers in the controller section while creating your scenarios. Many other advanced options like ramp-up, ramp-down of Vusers are also available in the Controller section. What are monitors? Ans:Monitors are used to “monitor” performance bottlenecks. They are used in Controller section of Load Runner Q13).
What are the types of check points is available in? Ans:Loadrunner provides two types of check points.
a) Image Checkpoints: This checkpoint will verify the presence of an image on a page during run-time. b) Text Checkpoint: This checkpoint will verify the presence of a text-string on a page during run-time Q14). What kind of problem we can face regarding hardware, software, network and memory bottleneck during the performance test? Ans:The possible issues amongst others could be –. Lack of Hardware. Memory Leakage.
Network related issues. Application/Software error Q15). What would be your recommendation to improve performance measure? Ans:Fine Tuning of network, database, and app and web server is recommended.
At the network level try to optimize the latency and bandwidth. At database level, verify all indexes and sequences by running profilers.
You may also optimize your database queries. At the App server level, run profilers for finding the memory leaks in the application At the web server level you can use monitors and optimize the throughput and other related metrics of the server. What is Rendezvous point? Ans:Rendezvous point is Synchronization/Wait point. Rendezvous points instruct Vusers to wait during test execution for multiple Vusers to arrive at a certain point, in order that they may simultaneously perform a task. The significance of this is to emulate some heavy load only to particular portion of the scenario and test the behavior of the application. What is Correlation?
Ans:Correlation is used to obtain data which is unique for each run of your test script (ex: session ids). While recording, these dynamic values are hard-coded in your script causing the script to fail during playback. Correlation is a technique where dynamic values are not hard-coded in your script but are extracted at run-time to avoid failure. What is Manual Correlation? Ans:Its correlation technique which uses function Webregsaveparam to identify dynamic values in your script.
It is important that your playback your script to verify that correlation is done successfully. How do you identify the performance bottlenecks? – Ans:Performance Bottlenecks can be detected by using monitors. These monitors might be application server monitors, web server monitors, database server monitors and network monitors. They help in finding out the troubled area in our scenario which causes increased response time. The measurements made are usually performance response time, throughput, hits/sec, network delay graphs, etc Q20). Which function is used to end a nested transaction?
Ans:The function is – lrendsubtransaction. What is the difference between transaction and transaction instance in loadrunner? Ans:A transaction is used to measure time between executions of certain statements A transaction instance is used for performance analysis Q22). While the script is running we find some values that may be need to be correlated? Is it possible to do manual correlation for those values? Its not possible to do correlation when script is running but you can make changes once script has stopped.
What is Elapsed Time in Load Runner? Ans:Elapsed time designates how much time has passed since the launch of the current event and is measured differently for different screens as given below – In Scenario Status Window – Elapsed time is measured from the moment you hit “Start Scenario” or ” Initialize/Run Vuser?” button. In “Vuser” window elapsed time is measured form the moment Vuser enters “running” state. Does caching have a negative effect on your load testing results? Caching has a negative effect. Cache is temporary memory which stores your browsing history.
When you visit a page for the SECOND time, the time required to load the page will be less than that required to load the page for your first visit since much of the information required to load the page is grabbed from the cache instead of the server. This will effect the response times in your test. Hence, it is recommended to turn-off caching. What is the difference between Overlay graph and Correlate graph? Ans:Overlay Graph: It will overlay the content of two graphs that shares a common x-axis Correlate Graph: It will Plot the Y-axis of two graphs against each other. What is the difference between lrerrormessage and lrdebug message?
Ans:lrerrormessage – Sends a error message to the Controller’s Output window lrdebug message – Sends a debug message to the Controller’s Output window Q27). What is the difference between load, performance testing? Ans:The objective of performance testing is to check whether an application loads/updates within stipulate time limit (say 2 seconds). It uses metrics like response time, Requests per second.
It is carried out under production – like load conditions. The objective of load testing is to check scalability of the system. For example, finding out the maximum number of users supported by the system within certain specifications. You have created several Auto Correlation rules. A new tester on your team is preparing to record a group of scripts on the same application on his workstation. What can you do to provide the tester with the correlation rules? Ans:I would export the Auto Correlation rules to a.cor file, and then have the new team member import the.cor file into his Auto Correlation rules Q29).
You want to emulate a call center for an airline. All representatives login in the morning, perform their business processes, and log out at night. In one day, a representative will Create 40 flight reservations, Modify 10 flight reservations, and Search for 20 flight reservations. A representative cannot perform a Modify without performing a Search first. How would you design the run logic? Ans:Create – 67% Search – 16% Block0 – 17% Search Modify Q30).
Where should you add a webregsaveparam function to a script? Before the step that retrieves the dynamic value.
You want to have each step in your script measured as a transaction in the Controller and not shown in the Replay Log in VuGen. How can you accomplish this?
Ans:This can be done by enabling the automatic transaction in the Run-time settings Q32). Which web protocol recording level generates the websubmitform function? Ans:The URL protocol generates this function. What is load testing? Ans:Load testing is to test that if the application works well with the loads from large number of simultaneous users and transactions. It also used to determine whether it can handle peak usage periods.
What is load runner? Ans:Load Runner is a performance testing tool from HP. This tool supports all aspects such as Load, Stress, Endurance, data volume and spike Testing. What are all the components of LoadRunner? Ans:Following are the components of.
The Virtual User Generator. Controller, and the Agent process. LoadRunner Analysis and Monitoring. LoadRunner Books Online Q36). What Component of is used to record a script? Ans:The Virtual User Generator (VuGen) component is used to record a script and it enables you to develop Vuser scripts for a variety of application types and communication protocols. What is a rendezvous point?
Ans:Rendezvous points are introduced into Vuser scripts to simulate more users on the server. Rendezvous points instruct Vusers to wait during test execution in order to perform the tasks simultaneously.
For example, in a banking application, Rendezvous points are inserted for 100+ multiple users to deposit money simultaneously. What is a scenario? Ans:A scenario is nothing but an event that occurs for each testing session. For example, a scenario defines. Number of users. Action to be performed. Virtual machines system Q39).
How can we debug a LoadRunner script? Ans:VuGen contains two options to debug Vuser scripts. Run Step by Step command and. Breakpoints. We can also manually set the message class within your script using the lrsetdebugmessage function. How can we perform functional testing under load? Functionality under load can be tested by running several Vusers concurrently.
By increasing the Vusers, it is necessary to determine how much load the server can sustain. What is the relationship between Response Time and Throughput? Ans:The Throughput shows the amount of data in bytes that the Vusers received from the server in a second. When It is compared with transaction response time, throughput and response time get decreased.
The peak throughput and highest response time would occur approximately at the same time. What does vuserinit and vuserend action contain? Ans:Vuserinit action contains procedures to login to a server and Vuserend section contains log off procedures. What is the difference between standard log and extended log?
Ans:The standard log sends a subset of functions and messages to the output log and subset of functions depends on the Vuser type. Extended log sends a detailed script execution messages to the output log. It is mainly used during debugging when user needs information about Parameter substitution. What are all the types of Goals in Goal-Oriented Scenario of Load Runner? Ans:Load Runner provides you with five different types of goals:. Number of concurrent Vusers.
Number of hits per second. Number of transactions per second. Number of pages per minute. Transaction response time Q45). What is a function to capture dynamic values in the web vuser script? Ans:Webregsaveparam is the function that saves dynamic data information to a parameter. What are the Load Runner testing process?
Ans:Following are the testing process in:. Plan load test. Create Vuser Scripts. Define Scenario.
Run Scenario. Analyze results Q47). What is remote command launcher?
Ans:The remote command launcher enables the controller to start applications in the host machine. How can we develop the database vuser script? Ans:Vuser scripts can be developed either by recording with the load vuser script generator or by using Load runner vuser script template. How do you load a load runner Agent? Ans:While running the scenario, loadrunner controller instructs the remote agent dispatcher to launch loadrunner agent.
The controller instructs the loadrunner agent to initialize, run, pause and stop the vusers. What is the difference between hits/second and requests/second? Ans:Hits per second means the number of hits the server receives in one second from the vuser. Request per second is the number of request the vuser will request from the server. What are the advantages of load runner? Ans:Following are the advantages of Load Runner:.
Reduces human intervention. Reduces the requirement of the systems. Helps in the better usage of time and money. Effective utilization of automation. Single point execution Q52).
What is the vuser in the scenario? Ans:The vuser is the virtual users who can simulate the real users. The virtual users who take the place of real users’s operating client software, such as IE sending requests using the HTTP protocol to IIS or Apache web servers. How do we write a user defined function in LoadRunner?
Ans:Use should create the external library that contains the function. This library must then be added to the bin directory of VuGen. And then, the user-defined function can be assigned as a parameter.
What are the changes that can be made to run-time settings? Ans:There are four run-time settings that can be made:. Pacing: This contains iteration count. Log: Logging can be set to standard or disabled. Think Time: Capable of setting think time to be ignored or replayed. General: Allows the setting of Vusers for processes or multithreading. How can we find database related issues?
Ans:Monitors and the Data Resource Graph can be used to find database related issues. LoadRunner allow the tester to specify the resource that needs to be measured before the controller is run. How many types of graphs are available in LoadRunner? Ans:There are 5 types of graphs:.
Network delay time graph – displays the time that elapses between request and response. Two transaction response time graphs – one transation response time graph for load and another one for percentile. Hits/second graph – Shows application traffic volume. Pages download/second graph – shows the rate at which pages are downloaded per second Q57). How can performance bottlenecks can be identified? Ans:Monitors can be used to detect performance bottlenecks. These include network, web server, application server, and database server monitors.
These monitors can be used to locate trouble spots in scenarios that cause increase in response time and throughput, network delays, performance response time, hits/second, etc. What is ramp up and how it can be set? Ans:Ramp up is gradually increasing the load on a server and can be simulated by gradually increasing the number of Vusers. This feature can be found in the Scenario Scheduling Options. How correlation can be performed? Ans:Correlation can be performed in two ways:.
Use the scan function to search for correlations and select a value from the result. Record a pair of scripts and then compare them to each other. Where are automatic correlation options set? Ans:The automatic correlation is set in recording options area on the correlation tab.
Correlation can be enabled for the full script and rules for correlation can be defined. Automatic correlation can be performed on a database by viewing the output window, scanning for correlation, and selecting the value that will be used. What is the benefit of running a Vuser script as a thread? Ans:The advantage of running a Vuser script as a thread which allows more Vusers to be used for one load generator. Running Vuser scripts as processes utilizes a lot of memory because all of the loaded scripts use the same driver. This limits the number of Vuser scripts that can be run on one generator. What is the difference between Overlay graph and Correlate graph?
Overlay Graph: Ans:Overlay graph has one X axis and 2 Y-axis. Left Y-axis on the merged graph shows the current graph’s value & Right Y-axis show the value of Y-axis of the graph that was merged. Correlate Graph: There are two graphs and the active graph’s Y-axis becomes X-axis of merged graph.
Y-axis of the graph that was merged becomes merged graph’s Y-axis. What are the three sections of a Vuser script and what is the purpose of each one? Ans:Following are the three sections of Vuser script and they are as follows:. Vuserinit – Used for recording the logon. Actions – Used for recording the business process. Vuserend – Used for recording the logoff. What are the four selection methods when choosing data from a data file?
Ans:Following are the four selection methods:. Sequential.
Random. Unique.
Parameter name Q65). What should be done to view parameter substitution in the Execution Log? Ans:Parameter substitution can be viewed in the extended log in the Run time settings. What tools are required to analyze Vuser run results? Ans:Following tools are required to analyze Vuser run results:.
Execution Log. Run-Time Viewer and. Mercury Test Results window Q67). What is difference between Manual scenario and Goal oriented scenario? Ans:Following are the differences between Manual and Goal Oriented scenario: Manual Scenario Goal Scenario Main purpose is to learn how many Vusers can run concurrently Goal may be throughput, response time, or number of concurrent Vusers Gives you manual control over how many Vusers run and at what time Load Runner manages Vusers automatically Q68).
What are all the reasons to use the Server Resources Monitor? Ans:Server resources monitor is used to find how much data is coming from Cache and helps to find out what are all the parts of the system have bottlenecks. What is the purpose of selecting ‘Show browser’ during replay in the General Options settings? Ans: ‘Show Browser’ setting is used to see the pages that appear during playback. This is useful for debugging Vuser during the initial stages of Web Vuser creation. For what purpose, User will be using ‘continue on’ error?
Ans:Continue on should be set only when making Execution Logs more descriptive or adding logic to the Vuser. What is the purpose of a LoadRunner transaction?
Ans:The purpose of a Load Runner transaction is to measure one or more steps/user actions of a business process. Why do you create parameters? Ans:Parameters are like script variables and they are used to vary input to the server to emulate real users. Different sets of data are sent to the server whenever the script is run. Better simulate the usage model for more accurate testing from the Controller and one script can emulate many different users on the system. What is lroutputmessage?
Ans:The lroutputmessage is a function that sends notifications to the Controller Output window and to the Vuser log file. In a Web server, Database and Network are all working fine and now, Where could be the problem?
Ans:The problem could be in the system itself or in the application server or in the code written for the application. What is VuGen Recording and Scripting? Ans:r script code is obtained by recording in the ANSI C language syntax and it can be viewed in the script view.
What is Performance testing in LoadRunner? Ans:Performance testing can be done by calculating the timing for both read and update transactions and check whether system functions are being performed in an acceptable timeframe. In a multi user environment, it is necessary to determine the effect of multiple transactions on the timing of a single transaction.
What is the Configuration of systems when using Load Runner? Ans:The configuration of systems refers to that of the client machines in which we will run Vusers.
The configuration of client machine includes its hardware settings, memory, operating system, software applications, development tools, etc. This system component configuration should match with the overall system configuration so as to achieve the load testing objectives. What is the use lrabort function? Ans:The lrabort function is used to abort the execution of a Vuser script. It instructs the Vuser to stop executing the Actions section, execute the vuserend section and end the execution.
What is think time? Ans:Think time is the time where a real user waits between actions. When a user receives data from a server or other applications, the user may wait several seconds to review the data before responding. This time delay is called as think time. How Load Runner interacts with the application? Ans:Protocol is used in Load Runner to interact with the application. What is the latest version and language used in Load Runner?
Ans:As of 20-Feb-2013 Load Runner 11.5 is the latest version and VUser script is used like a C Language. Following languages are supported by LoadRunner:. C Language. Visual Basic Scripting. Visual Basic For Applications. Java Scripting Q82). What are all the important protocols that Load Runner supports?
Ans:Following are the protocols that Load Runner can support are:.NET Record / Display. Database.
DCOM. Network. Oracle E-Business. SAP. SOA. Web and Multimedia.
Wireless. GUI. Java Record and replay.
Remote desktop. Web 2.0 Q83).Why do you create parameter? Ans:To create a parameter you will replace the hard coded value within the script and replace it with a parameter. This allows a single Vuser to be run many times, and to use different data on each run. It helps in stimulating more real life server demand as it prevents server from caching results. Is Interested right??
Many applications make use of the SSL extension to the HTTP protocol that adds an encryption layer to the HTTP stack. If performance test tool can't handle SSL then you won't be able to record any transactions. One way of increasing security is to make use of client certificates, which can be installed into the application client before access is permitted to an application. The certificates are provided in a number of formats (typically pfx or p12) and must be made available to your performance testing tool for successful capture and replay. Please follow the steps below to import, export the certificate in the format recommended by LoadRunner. Import Client Certificate in Browser 1.
Click Start, click Control Panel, double-click Internet Options, and then click the Content tab 2. Click Certificates. A)The Certificates dialog box opens.
Click the Personal tab, and then click Import. A)The Certificate Import Wizard opens. B)On the Welcome page, click Next.
On the File to Import page, click Browse, select your certificate (if necessary, select your certificate type in Files of Type drop-down menu), and then click Next. On the Password page, type the certificate’s password, select Mark this key as exportable, and then click Next. On the Certificate Store page, select Place all certificates in the following store, browse to the Personal certificate store (if it’s not already selected), and then click Next. On the Completing the Certificate Import Wizard page, click Finish. Verify that the imported certificate appears in the Personal tab of the Certificates dialog box. Export a private key 1. Under Internet Options, and then click the Content tab.
Click Certificates. A)The Certificates dialog box opens. In the Certificates dialog box, click the Personal tab, select the certificate to export, and then click Export.
A)The Certificate Export Wizard opens. B)On the Welcome page, click Next. On the Export Private Key page, select Yes, export the private key, and then click Next.
On the Export File Format page, choose Personal Information Exchange – PKCS #12 (.PFX), select Include all certificates in the certification path if possible, clear the other check boxes, and then click Next. On the Password page, type and retype the certificate’s password, and then click Next.
On the File to Export page, type the path and name of the file to export, and then click Next. A)The wizard will add the.pfx extension automatically.
On the Completing the Certificate Export Wizard page, click Finish. Convert.PFX to.PEM format using OpenSSL 1. Download latest version of OpenSSL from OpenSSl Website a.
Convert PFX format to PEM format using the command below a. OPENSSL PKCS12 –in -out b.
Enter the password given while exporting the certificate c. Enter any PEM pass phase:e:g 2222 d. Reconfirm the pass phase by typing the same number again. Open SSL Note: SSL utility available in LoadRunner 9.5 may crash or may not work as intended.
It is better to download the utility from OpenSSL website WebServices Security in LoadRunner Transport Level Security Secure Sockets Layer (SSL) is a common transport layer approach that is used to provide encryption to message layer security. If your web service URL begins with https, SSL is automatically used. Anonymous said. Hi Vamsi Tokala, I am looking for some advice on implementing solutions around 'Legacy Based Security model using Loadrunner'.
Apologies for a lengthy post. From your blog I see that Loadrunner can support different types of security tokens such as Username and Password, Kerberos Ticket, Kerberos2 Ticket, Security Context Token, and Derived Token. The application I am currently testing is integrated with ‘Correspond Now product’, which is used to generate and edit documents. The Vugen (LR) has recorded considerable sets of secure web service requests with encrypted soap body, when trying to record this document generation functionality. These WS requests are implemented with Kerberos security mechanism.
Within the Soap Header, is the UsernameToken. This is the key element considered by the server while authenticating the client requests. As per the application client security documentation, the username tokens are encrypted with RSA encryption. In addition to this there are many other encrypted data within the Soap headers and Soap body. When I come to play the script back it fails due to the hardcoded encryption and security tokens. Following are the tokens present with the header of WS requests, 1. The element with unique timestamp 2.
With subelements as. The Username Token uses RSA encryption mechanism.
Within, each of these elements holds sub elements called and which are unique and looks like a base64 string. The and within the element. There are similar tokens present within the SOAP body as well. I am not sure as how to handle these tokens, how can I use Loadrunner to generate these tokens? I am eagerly looking for your advice and help, you can send your response to my query to the below given email address. If required I can post even the sample Soaprequests.
Please let me know. Regards, Shobitha [email protected]. Anonymous said. Hi Vamsi, Element names were missing in my previous post. Apologies for this. Please find the list of tokens present within the WS requests.
Following are the tokens present with the header of WS requests, 1. The 'wsse:security' element with unique timestamp 2. 'wsse:UsernameToken' with subelements as 'xenc:EncryptedData' and 'xenc:CopherValue'. The Username Token uses RSA encryption mechanism. 'wsse:Binary security token' 4. 'xenc:EncryptedKey' within 'wsse:security', each of these elements holds sub elements called 'xenc: CipherValue' and 'xenc:Datareference' which are unique and looks like a base64 string.
The 'wssc:SecurityContextToken' and 'wssc:DerivedkeyToken' within the 'wsse:security' element. Regards, Shobitha [email protected]. Check the data used in the request Data can be compared to a hash value to determine its integrity. Usually, data is hashed at a certain time and the hash value is protected in some way. At a later time, the data can be hashed again and compared to the protected value. If the hash values match, then the data has not been altered. However, if the values do not match, the data has been corrupted.
For this system to work, the protected hash must be encrypted or kept secret from all untrusted parties. Anonymous said. Hi Vamsi, Thanks for your reply on Hash value issue. I can successfully overcome the Hash value issue, It looks like the SSL certificate was not imported and exported properly for creating.PFX file now it is rectified. But still there is another issue found which is quoted 'The request was invalid for WS-Security standard, it has more than one Security header for the configured actor: ' (from client)' I placed 'WebServiceSetSecurity' as i found HTTPS protocol passed in the URL i used 'Username and Password' token, As the user name and password are passed in the request but it didn't succeed. I am not sure where it's goes wrong. And one more thing is i see X.509 certificate is passed in the request as well.
I dont know whether we need to use both the tokens as headers!!! Can you please let me know how to handle this. Thanks in Advance. Hi Vamsi, Thank You for sharing such invaluable information. It is really helpful. I had a question.
I created a web service script and ran it in the test environemnt and it ran fine without any errors. Since i have to conduct the tests in stage i changed the endpoint URL and the server name and ran in stage which came out giving me a 401 error. So i went ahead and changed the endpoint URl and the server name back to stage and it started giving me the 401 error. This was not happening earlier. I have used the websetuser and the websetsecurity function in web service but still not able to resolve this error.
Can you please suggest me something? Thanks, Rahul.
Hi Vamsi, Thank you for this write up, It has helped our company to run many successful test. I have one question for you though, and anyone else who reads this. I am executing soaprequests and the web service wants a binanry security token and a username token within the security header.
The service also wants both the binary security token and the username token to be signed by the binary security token. I can see within the MESSAGESIGNATURE identifier within a webservicesetsecurity LR function that I can only supply one token to be signed. If I place these elements within the request it will throw an error saying that there are two security headers. If i leave these elements out of the security header and just place them in the header, I will get an error stating that it will not validate signature. Do you know anyway around this?
Hi Vamsi, Very informative article. I need your guidance on one of my project. I want to do perf testing of Mobile application. Dev team has provided me the json type requests which I need to submit through loadrunner.
I used Http post to submit the request. But there is a glitch its a secure webservice(https). Since it is a not browser application from where I can get the certificate to authenticate web server. Also dev team has given me an access to Linux machine from where I can hit the web server, since the web server has shared its certificate with that machine. So my question is can I use the same certificate from that machine and install it on my local machine or I need to ask dev team specific certificate for my local machine. Your suggestion will be highly appreciated. Thanks, Aayush.
Anonymous said. Hi Vamsi Tokala, my client side certificate is present in a smart card. When I open my browser it requests for the certificate and a PIN to enter the website. When I recorded that in vugen the client certificate is not recorded, I am able to export the certificate from the card as.cer.der format only,but not able to export the keys since.cer is base64 format just renamed the file to.pem.
But when I reran the script it is showing error. I used my PIN as my key for the certificate.
Plz tell me wat mistake I am doin. Anonymous said. Hi, I am able to record the application in Load runner using HTTP/HTML protocol.The URL of the application starts with https. Whenever I do replay I am getting the following error: Action.c(10): sslhandlestatus encounter error: SSLERRORSSL, error message: error:1408F10B:SSL routines:SSL3GETRECORD:wrong version number MsgId: MMSG-26000 Action.c(10): Error -27776: SSL protocol error when attempting to connect with host 'host' MsgId: MERR-27776 Action.c(10): Error -27762: Request 'host' failed MsgId: MERR-27762 Action.c(10): weburl('host') highest severity level was 'ERROR', 0 body bytes, 0 header bytes Could anyone provide the solution for this?
Hi Vamsi, I am facing SSL protocol error when attempting to connect with host issue. Earlier i successfully executed same script with 100 users. After that they has updated users and license key.
Now i am able to access Application Manually but not by tool.Now we have some confusion that we should install Application certificate or load balancer certificate and where to Install this certificate? In LR Tool - recording option -Port mapping -Client certificate 2. Or in LG, Vugen machine cert directory 3.Internet Options - Content -Certificate Please help me on this. Thanks in advance.
Hi Vamsi, I am facing SSL protocol error when attempting to connect with host issue. Earlier i successfully executed same script with 100 users. After that they has updated users and license key. Now i am able to access Application Manually but not by tool.Now we have some confusion that we should install Application certificate or load balancer certificate and where to Install this certificate? In LR Tool - recording option -Port mapping -Client certificate 2.
Or in LG, Vugen machine cert directory 3.Internet Options - Content -Certificate Please help me on this. Thanks in advance. Hi guys i am facing an issue with load runner http/html scripting 1. My script uses websocket connect. & when i ran my script it was a creating a dynamic token and that it comes from client side and i am not sure how to pass the client side security token to my script. Please help me out on this.
I got the below error: Error 472 Action.c(472): Error -26627: HTTP Status-Code=404 (Not Found) for 'MsgId: MERR-26627 Action.c C: Users fz016513 Documents VuGen Scripts WebHttpHtmlDateSolution17Dec WebHttpHtmlDateSolution17Dec. Hi Vamshi, We are getting below error which recording Oracle E-business suite application using LoadRunner. SSL handshake failed because of certificate error. Error ( f34: e6c) SSLAccept(sslid = 436065064 = 19FDD328) Failed, ctx = 19F831C8, err = 'SSLv3 read client key exchange A', err code = 1, err msg= 'error:00000001:lib(0):func(0):reason(1) error:14094416:SSL routines:ssl3readbytes:sslv3 alert certificate unknown ' Net An.
Error ( f34: e6c) (Sid: 28) Negotiate Client - Proxy SSL Handshake Failed!!! Request you to help us in finding a solution for this, also how to import the certificates into loadrunner so it can successfully handshake with oracle EBS server.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |