Micro Focus has introduced a brand-new protocol to its outstanding line up of protocols. TruWeb is created with a developer mindset. It is a protocol that focuses on the HTTP (transport) level, providing a lightweight, scalable and cross-platform solution for web protocol testing.
This protocol is available in version 12.60 of LoadRunner and Performance Center as well as StormRunner Load. You can start to take advantage of the capabilities that TruWeb has to offer. You can write a TruWeb script using Virtual User Generator (VuGen), Atom.io, JetBrains WebStorm (IntelliJ), or other IDEs and tools.
TruWeb allows performance engineers, testers and developers create scripts on any platform. It supports Windows, MacOS and Linux. You can record scripts via HAR files or the TruWeb Proxy Recorder. On top of this, TruWeb can also be ran as a standalone solution. You can run TruWeb in single mode, which runs a single iteration for a single Vuser, or in load mode, which runs the script use the scenario settings defined in the scripts scenario.yml file.
TruWeb is currently in Tech Preview. It is in its first phase of its release. The below links will allow you to read more of the current capabilities as well as download and give it a test drive.
TruWeb is currently in Tech Preview. Meaning you do not need a license to run it. However, this may change in future versions.
VuGen 12.53 supports integration with Git, enabling you to store scripts in a local or a remote Git repository. If a proxy server is needed to access the remote repository, the proxy configuration needs to be set up manually outside of VuGen using a Git command line client.
VuGen does not include a Git command line client, so it must be installed manually.
Follow the instructions below to set up a proxy server for Git:
- Install any Git command line client i.e. Git-SMC (the portable version will also work)
- Open the Git client (If you installed the Git-SMC run the git-cmd.exe)
- Execute the following command (replace the <proxy_server> and <port_number> with the correct values, note the two consecutive hyphens prepending the global option)
git config –global http.proxy <proxy_server>:<port_number>
- To reset the proxy settings execute the following command (note the two consecutive hyphens prepending the global and unset options):
git config –global –unset http.proxy
When importing a Library from Develop Script -> Function Libraries and saving it, everything is fine. But when closing the Develop Script mode and opening it again, the library is not shown.
The script is not able to parse the XML files correctly. It could be due to crash of VuGen before the script became corrupted or if the script replay is interrupted unexpectedly. If something unexpected happened, VuGen can get corrupted and the reading process may be incorrect.
The following can help to fix the issue:
1. Take the .xml files from the “libraries” folder (within the script folder) and put them out of the script folder.
2. Delete the original files from the “libraries” folder.
3. Open the script with VuGen.
4. Go to Function Libraries.
5. Select the button “Import Library”.
6. Navigate and select the .xml files saved out of the script folder.
After doing this, the script will read/parse the XML files again and this time, it will be done correctly.