Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037713
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POStrivialN/A2018-01-24 15:352024-02-09 10:19
Reporterinaki_garciaView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037713: Code contribution request to pi-mobile of infrastructure for the recording of JMeter performance test

DescriptionThis contribution is part of the Automated JMeter Test Plan Creation project to enable faster and easier JMeter test script recording and execution.

It provides the possibility of using the Selenium tests as a recording platform with an extendable test class that configures a proxy to redirect the generated HTTP requests to the JMeter requests, and adds its own custom HTTP requests after certain "tap" actions to classify these requests within the JMeter test script's request controllers. Such class also modifies the test behavior so there is a WebPOS login and logout in the @before and @after annotations, respectively.

The logic for such extendable test class is included in the WebPOSJMeterTerminalHelper.java class. Other minor changes have been added to the MobileCoreTerminalHelper, WebPOSTerminalHelper and SeleniumHelper classes for the integration of such class, and to set an initial mark when first loading the WebPOS page.

Check the attachments to see the candidate patches to be contributed to pi-mobile, which should be made available for Q3.
Steps To ReproduceN/A
TagsNo tags attached.
Attached Filesdiff file icon jMeterRecordingWorkloadTest_patch2.diff [^] (10,571 bytes) 2018-10-03 17:24 [Show Content]
diff file icon jMeterRecordingInfrastructure_patch1.diff [^] (43,495 bytes) 2018-10-26 10:16 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0054624 closedshuehner Remove obsolete jmeterrecording code from mobile-test 

-  Notes
(0105197)
inaki_garcia (reporter)
2018-06-18 15:51
edited on: 2018-06-18 16:03

At the present time, there isn't a way of executing these tests alongiside JMeter in a Jenkins build, but it is planned for an upcoming release. In the meantime, the WebPOSWorkloadTest run as a regular nightly try-retail integration test will provide feedback on the stability and usefulness to perform a manual JMeter recording on. To do this, apply the disableProxyForRegularExecutionInCi_patch3.diff patch to leave the unneeded Proxy disabled

(0113222)
inaki_garcia (reporter)
2019-07-08 16:21

The Web POS Workday test for use for the JMeter test recording requires to directly extend the WebPOSExtModulesTerminalHelper, to be able to continuously evaluate and test it over the Retail "pi" project as part of the CI jobs in try-retail. This leaves us with two setups for the test, and since it isn't possible to make the test class extend the two parent class (being WebPOSJMeterTerminal helper the other one), it has been decided to have two seperate classes in different packages:

- org.openbravo.test.mobile.retail.extmodules.selenium.tests.generic.WebPOSWorkdayTestForJMeter
- org.openbravo.test.mobile.retail.example.selenium.tests.jmeterrecording.WebPOSWorkdayTest

The first one is the one suitable to run in try-retail, which should run without being error excluded in "AllowedErrorsHelper", and which will receive any adaptation or changes as the POS
application evolves and develops. The second one is the one which will more closely run the test in the sequence that the JMeter recording and the parsing tools developed for it need. Any changes
will be transfered to this class and will also continue to be tested by the qa-pi-jmeterrecording job that serves as a flag on whenever the changes were required.
(0160532)
shuehner (administrator)
2024-02-09 10:19

Closing as in 54624 we removed the code related to using selenium for recording jmeter tests.

- Issue History
Date Modified Username Field Change
2018-01-24 15:35 inaki_garcia New Issue
2018-01-24 15:35 inaki_garcia Assigned To => Retail
2018-01-24 15:35 inaki_garcia File Added: patchForJMeterRecording.diff
2018-01-24 15:35 inaki_garcia Triggers an Emergency Pack => No
2018-01-24 15:36 inaki_garcia Description Updated View Revisions
2018-01-24 15:44 inaki_garcia Description Updated View Revisions
2018-01-25 13:26 inaki_garcia File Deleted: patchForJMeterRecording.diff
2018-01-25 13:27 inaki_garcia File Added: patchForJMeterRecording.diff
2018-06-12 13:34 inaki_garcia File Deleted: patchForJMeterRecording.diff
2018-06-12 13:34 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-06-18 15:51 inaki_garcia Note Added: 0105197
2018-06-18 16:03 inaki_garcia Note Edited: 0105197 View Revisions
2018-06-18 16:04 inaki_garcia File Added: jMeterRecordingWorkloadTest_patch2.diff
2018-06-18 16:05 inaki_garcia File Added: disableProxyForRegularExecutionInCi_patch3.diff
2018-06-18 16:05 inaki_garcia Description Updated View Revisions
2018-06-18 16:06 inaki_garcia Description Updated View Revisions
2018-06-22 10:36 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-06-22 10:36 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-06-22 11:02 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-06-22 11:02 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-06-22 11:12 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-06-22 11:12 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-06-22 12:30 inaki_garcia File Deleted: disableProxyForRegularExecutionInCi_patch3.diff
2018-06-22 12:30 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-06-22 12:30 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-06-22 12:33 inaki_garcia File Deleted: jMeterRecordingWorkloadTest_patch2.diff
2018-06-22 12:33 inaki_garcia File Added: jMeterRecordingWorkloadTest_patch2.diff
2018-09-28 14:02 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-09-28 14:02 inaki_garcia File Deleted: jMeterRecordingWorkloadTest_patch2.diff
2018-09-28 14:02 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-09-28 14:02 inaki_garcia File Added: jMeterRecordingWorkloadTest_patch2.diff
2018-10-03 13:08 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-10-03 13:08 inaki_garcia File Deleted: jMeterRecordingWorkloadTest_patch2.diff
2018-10-03 13:08 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-10-03 13:08 inaki_garcia File Added: jMeterRecordingWorkloadTest_patch2.diff
2018-10-03 16:14 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-10-03 16:14 inaki_garcia File Deleted: jMeterRecordingWorkloadTest_patch2.diff
2018-10-03 16:15 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-10-03 16:15 inaki_garcia File Added: jMeterRecordingWorkloadTest_patch2.diff
2018-10-03 17:23 inaki_garcia File Deleted: jMeterRecordingWorkloadTest_patch2.diff
2018-10-03 17:24 inaki_garcia File Added: jMeterRecordingWorkloadTest_patch2.diff
2018-10-18 17:10 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-10-18 17:10 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-10-19 13:13 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-10-19 13:13 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-10-24 15:44 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-10-24 15:45 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2018-10-26 10:15 inaki_garcia File Deleted: jMeterRecordingInfrastructure_patch1.diff
2018-10-26 10:16 inaki_garcia File Added: jMeterRecordingInfrastructure_patch1.diff
2019-06-27 12:51 inaki_garcia Summary Code contribution request for load test recording for JMeter for pi-mobile => Code contribution request to pi-mobile of infrastructure for the recording of JMeter performance test
2019-07-08 16:21 inaki_garcia Note Added: 0113222
2024-02-08 17:35 shuehner Relationship added related to 0054624
2024-02-09 10:19 shuehner Note Added: 0160532
2024-02-09 10:19 shuehner Status new => closed
2024-02-09 10:19 shuehner Resolution open => out of date


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker