-
Bug
-
Resolution: Fixed
-
Critical
-
Jenkins v2.32.2
hp-application-automation-tools-plugin v5.0
LoadRunner 12.53
Context:
Running a LoadRunner test from Jenkins.
The "Execute HP test from file system" step is working correctly.
But the "Publish HP tests result" step always fails with "java.lang.NumberFormatException"
The problem is the same whatever the "Report archive mode" in the "Publish HP tests result" step.
Issue:
The tests result is published in a zip file as expected, but the HTML report is not published and the build finish with a "FAILLURE" status
The console output is :
Test PASSED Test result: Passed 17/02/2017 10:44:15 Test complete: C:\LR-CdT\trunk\zz-Jenkins\Scenario\Scenario1.lrs ------------------------------------------------------------------------------------------------------- Cleaning up the environment... ================================================ Run status: Job succeeded, total tests: 1, succeeded: 1, failures: 0, errors: 0 Passed : C:\LR-CdT\trunk\zz-Jenkins\Scenario\Scenario1.lrs ================================================ Enregistrement des résultats des tests Report archiving mode is set to: PUBLISH_HTML_REPORT Zipping report folder: C:\LR\workspace\LoadRunner\efe3b5 Parsing test run dataset for perfomrance report ERROR: Build step failed with exception java.lang.NumberFormatException: For input string: "0,212" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1250) at java.lang.Double.valueOf(Double.java:504) at com.hp.application.automation.tools.results.RunResultRecorder.processSlaRule(RunResultRecorder.java:1144) at com.hp.application.automation.tools.results.RunResultRecorder.processSLA(RunResultRecorder.java:1081) at com.hp.application.automation.tools.results.RunResultRecorder.parseScenarioResults(RunResultRecorder.java:997) at com.hp.application.automation.tools.results.RunResultRecorder.buildJobDataset(RunResultRecorder.java:980) at com.hp.application.automation.tools.results.RunResultRecorder.recordRunResults(RunResultRecorder.java:215) at com.hp.application.automation.tools.results.RunResultRecorder.perform(RunResultRecorder.java:1237) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665) at hudson.model.Run.execute(Run.java:1753) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404) Build step 'Publish HP tests result' marked build as failure Finished: FAILURE
Excepted result:
Tests results published,
HTML report published in jenkins,
build finish with "SUCCES" status.