Skip to main content

How to Download Jar Files for Flex, Java and Java Over HTTP Protocols

How to get jar files of an application to use with Loadrunner specially for following loadrnner protocols

Flex, Web(HTTP/HTML)
Java Over HTTP
Java Protocols

If your application uses any jar files, you need to find the relevant .jar  files and enable  them in the classpath. To locate the relevant .jar files:Clear the JAR cache by selecting Control Panel > Java > General Tab >Temporary Internet Files > Settings > Delete Files.

Open your application and perform a few business processes to repopulate the JAR cache with .jar files from your application. When you are finished, close your application

Select Control Panel > Java > General Tab > Temporary Internet Files > View. This lists the JAR cache and should only contain the .jar files used by your application.

Download the files. Try the options in the order in which they appear. When you succeed, proceed to the next step to Add the .jar files to the classpath.

Option 1: For each .jar file, go to the listed URL and download the file. If you cannot download one or all of the .jar files, continue with the next option.

Option 2: Clear the cache again by selecting Control Panel > Java > General Tab > Temporary Internet Files > Settings > Delete Files. Open your application again and perform a few business processes. Do not close your application. Open the Java Console . There should be a message for each .jar file telling you the location it is stored in a temporary file on your computer. The files are usually hashed and don’t have .jar extensions. Change the name (including changing each extension to .jar) and copy the file to a known location.

Option 3: If the files don’t show up in the Java console, locate the  temporary directory as listed in Control Panel > Java > General Tab >Temporary Internet Files > Settings > Location. Open the specified  location and rename all the files in the sub-folders to .jar. Do not rename all the files in the main folder.

Add the .jar files to the classpath in the Recording Options > Java Environment Settings > Classpath node.

Comments

  1. hi I just did what you said but the cache has file in .idx format.. How can I get .jar format files from .idx file as Loadrunner will not accept .idx files.

    ReplyDelete

Post a Comment

Popular posts from this blog

NeoLoad Interview Questions and Answers

Here are some of the interview questions and answers on NeoLoad:
What is NeoLoad?
NeoLoad is a performance testing tool designed to test different types of web, standalone and mobile applications.
What is the difference between Loadrunner, JMeter and NeoLoad?
Click here for differences
What are the different counters you monitor in NeoLoad?
Average Response Time(requests), average response time(pages), average requests/s, average throughput, current response time(requests), current response time(pages), current requests, current throughput, current users count, controller cpu load, controller memory load etc.
What are the different type of tools you can integrate with NeoLoad?
App Dynamics, CA APM Integration, Dyna trace integration, HP ALM or Quality Center Integration, Java and Jamo Solutions M-eux Test Integration, Jenkins Integration, perfecto mobile integration, selenium integration.
What are the different type of Operating systems you can monitor?
Linux Monitor, Solaris Monitor, AIX …

File operations in loadrunner with examples

In this post I will explain how to capture a value from server response and save to a text file using vugen.
How to capture and save to text file using loadrunner:
First I have recorded the script using bing.com and then i searched for IBM. We will get 10 results. I have captured all the 10 values and saved to a file.
Here is the code for that.

Sitescope Monitoring Tool Features and Monitors

Why Sitescope is called Agentless Monitoring Tool?
HP SiteScope monitors the application/infrastructure/server/operating system without installing any agent software on the system to be monitored. This feature makes the installation, usage and maintenance of Sitescope simpler when compared with the any performance monitoring tools like Diagnostics.
Sitescope Monitors:
Sitescope has also upgraded and changed drastically to meet the rapidly changing technologies and environments like virtualization and cloud computing. Using Sitescope we can monitor different web servers, application servers and database servers. We can also monitor operating systems Windows, Linux, Sun Solaris, IBM AIX. It has more than 100 monitors including Weblogic, Websphere, SAP, SIEBEL, SNMP, LDAP, Network Monitor etc. HP SiteScope can also monitor cpu utilization, response time, disk space, and resource availability of a variety of host types and application platforms.
Sitescope Features:
SiteScope provides failover …