Preparing to record a test for the HTTP/2 protocol
To collect the performance data of an application that supports HTTP/2 protocol, record a test against the HTTP/2 application. Before recording the HTTP/2 application, follow the procedure in this topic to configure your computer.
About this task
Procedure
- Download the following Application Layer Protocol Negotiation (ALPN) boot jar file https://mvnrepository.com/artifact/org.mortbay.jetty.alpn/alpn-boot/8.1.8.v20160420
- Create or rename the productInstallDir\jdk folder to ..\jdk.abc. You can rename the folder back to jdk later to test with Java.
- Download Oracle Java 1.8.0u92 from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. You can then either extract the compressed file or install Java at productInstallDir\jdk.
- Copy the ALPN jar file to productInstallDir\majordomo\lib.
-
From productInstallDir, open eclipse.ini and add the
following flags:
-Xbootclasspath/p:<productInstallDir>\majordomo\lib\alpn-boot-8.1.8.v20160420.jar
Note: If there are any other flag starting with -X, delete those flags. -
Configure
Rational® Performance
Tester Agent to
use Oracle Java.
What to do next
You can now record a test for the HTTP/2 application. After the recording, in the Version field of request details, the requests are marked with HTTP/2 indicating that the HTTP/2 traffic is captured. If the test playback fails, check if all the steps are correctly followed.