This video shows how you can use Micro Focus’ ProxyRecorder feature to convert Selenium scripts to DevWeb (Micro Focus’ new innovative and high-performance Load testing scripting language based upon JavaScript and Node.js). The same concepts could be used to convert other script types including JMeter JMX files, Gatling, or loadUI to DevWeb format. Performance will generally be much greater using a network-based protocol rather than instantiating a UI through Webdriver.
Where to download your FREE copy of DevWev for use with the LoadRunner family of products: https://marketplace.microfocus.com/ap...
Help guide for ProxyRecorder: https://admhelp.microfocus.com/truweb...
Command: {DEVWEB_PATH}\ProxyRecorder.exe {OUTPUT-HAR-PATH}
Help guide for OfflineGenerator: https://admhelp.microfocus.com/truweb...
Command: {DEVWEB_PATH}\OfflineGenerator.exe -mode=har -level=pages "{HAR-FILE-PATH}" "{OUTPUT-DIRECTORY}"
Tasks.json for VSCode: https://ideone.com/pHXxDh
Example JUnit Java Source code (for compiling to JAR): https://ideone.com/xzixNq
POM.xml (Maven; to match LoadRunnerCloud requirements): https://ideone.com/fbRWSy
See help here: https://admhelp.microfocus.com/srl/en...
DevWeb code for transaction timers:
let trans;
trans = new load.Transaction("OpenPage");
trans.start();
trans.stop();
Extractors syntax with assert:
extractors: [
new load.BoundaryExtractor("spanBoundary", "<span class=\"navigation_page\">", "</span>")
]
}).sendSync();
trans.stop((webResponse5.extractors.spanBoundary.trim()==’Authentication’)?load.TransactionStatus.Passed:load.TransactionStatus.Failed);
On this page of the site you can watch the video online Selenium to DevWeb Conversion with a duration of hours minute second in good quality, which was uploaded by the user Chris Young 16 October 2020, share the link with friends and acquaintances, this video has already been watched 127 times on youtube and it was liked by 0 viewers. Enjoy your viewing!