#1 2019-07-20 22:20:45

michigunesh
Member
Registered: 2018-12-20

WAR file for Performance Testing

We have a Reportserver platform where BIRT reports are hosted and Performance Testing team would be testing the reports for 600 users simultaneously. But the testing team is requesting few files which usually every WEB APP team has to provide to be use in Load Runner scripts. When I searched through the Report Server box for WAR files and I could not find even one. Could you please help on this topic in case if anyone came across such scenario and which files to be used. File description is as below.

" To enable VuGen to decode the complex data in the HTTP communication, you must identify the .WAR file that is used by the Web Application. Occasionally, an application uses .jar files. All the considerations below about .war files apply equally to .jar files when used instead of .war files. "

Thanks

Offline

#2 2019-07-29 07:32:12

eduardo
Administrator
Registered: 2016-11-01
Website

Re: WAR file for Performance Testing

Hi michigunesh,

A .war file is just a zipped file containing the complete application, you can create one easily for yourself: https://www.javatpoint.com/war-file

To create war file, you need to use jar tool of JDK. You need to use -c switch of jar, to create the war file.
Go inside the project directory of your project (outside the WEB-INF), then write the following command:
jar -cvf projectname.war * 
Here, -c is used to create file, -v to generate the verbose output and -f to specify the arhive file name.
The * (asterisk) symbol signifies that all the files of this directory (including sub directory).

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB