Добавить
Уведомления

Selenium to DevWeb Conversion

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/appdelivery/content/LoadRunner-Developer Help guide for ProxyRecorder: https://admhelp.microfocus.com/truweb/en/latest/help/Content/DevWeb/DW-proxy_recorder.htm Command: {DEVWEB_PATH}\ProxyRecorder.exe {OUTPUT-HAR-PATH} Help guide for OfflineGenerator: https://admhelp.microfocus.com/truweb/en/latest/help/Content/DevWeb/DW-offline-generator.htm?Highlight=offlinegenerator 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/2020.07/Content/Storm/create_a_selenium_script.htm?Highlight=selenium 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);

12+
17 просмотров
2 года назад
4 декабря 2023 г.
12+
17 просмотров
2 года назад
4 декабря 2023 г.

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/appdelivery/content/LoadRunner-Developer Help guide for ProxyRecorder: https://admhelp.microfocus.com/truweb/en/latest/help/Content/DevWeb/DW-proxy_recorder.htm Command: {DEVWEB_PATH}\ProxyRecorder.exe {OUTPUT-HAR-PATH} Help guide for OfflineGenerator: https://admhelp.microfocus.com/truweb/en/latest/help/Content/DevWeb/DW-offline-generator.htm?Highlight=offlinegenerator 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/2020.07/Content/Storm/create_a_selenium_script.htm?Highlight=selenium 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);

, чтобы оставлять комментарии