Contributions
Scenarri with Discord athentification : i am blocked
Hi For our load testing we would like test the following script: step1>I open the home page of my web app. step2>I click on the "connect" button step3>A Discord popin of login is opened. step4>An user fills the fields of login/password to submit step5>The user is connected on Discord AND on our web app step6>The user has open his "my account" page I think use the same user for the load testing, but : >if I try to log my user on Discord, from LoadNinja, I have a captcha >If I valid the captcha, Discord detect the IP of loadNinja and send me an email to accept the connexion >If I accept the connexion, I can have a second request of Discord authorisation >If I accept this second Discord authorisation, I can have still a Discord question about the securisation of the user account. I have to much randow behaviour, and technical difficulty to pass a step with the Discord connexion on my APP Do you have an experience about this type of issue? Note: Discord =https://discord.com/ Thank you in advance Regards Yannick2 years agoPlace LoadNinja QuestionsLoadNinja Questions587Views0likes1CommentLoad configurationwith ramp-up and ramp-down
Hi, We search if we can configure a load test and stress test in loadNinja tool. For example, for the load testing we will search to run this similar configuration following. But we didn’t see how to configure this type of configuration in LoadNinja tool: Loading Zone :Paris, FR (amazon:fr:paris) Load configuration : { target-VU: 35, duration: "1m" }, //Ramp-up of 0 to 35 Vus on 1 minute { target-VU: 35, duration: "20m" }, //Peak Time of 35 VUs during 20 minutes { target-VU: 105, duration: "1m" }, //Ramp-up of 35 to 105 Vus on 1 minute { target-VU: 105, duration: "10m" }, //Peak Time of 105 VUs during 10 minutes { target-VU: 35, duration: "1m" }, //Ramp-down of 105 to 35 Vus on 1 minute { target-VU: 35, duration: "20m" }, //Peak Time of 35 VUs during 20 minutes { target: 0, duration: "1m" }, //Ramp-down of 35 to 0 Vus on 1 minute Diagram of loading wanted Thresholds : Metric: Response Time Statistic & condition: >=99 % Value:500 ms If we try to simulate the same configuration in your tool we can’t have the same diagram: Thank you in advance for your answer, Regards, Y.KSolved2 years agoPlace LoadNinja QuestionsLoadNinja Questions748Views0likes1CommentRe: Unable to Publish Cucumber Tests Results, using Jenkins (pluggin zephyr scale), to Zephyr Scale
Hiosmolyar, cc Anonymousteam Thank you very much for your feedback I upgraded my"wdio-cucumberjs-json-reporter" into"^4.1.4". My "steps: [] array" is not empty now,but when I tried to publish the tests result in Zephyr ScaleServer (8.0.3) I have the same error if I use the Zephy Scale pluggin in Jenkins It's working if I zip my result and run a curl command from the rest API like this: curl --basic --user MYLOGIN:MOTDEPASS -F "file=@report.zip" https://MYURLJIRA/jira/rest/atm/1.0/automation/execution/cucumber/MYPROJECTKEY?autoCreateTestCases=false Do you have an idea of the issue with Zephy Scale pluggin in Jenkins ? In attachment, the error message in the build, and a json result. Thank you in advance Regards3.6KViews0likes2CommentsUnable to Publish Cucumber Tests Results, using Jenkins (pluggin zephyr scale), to Zephyr Scale
Hi, We have developed some tests automatized from the frameworks named "webdriverIO" and "Cucumber". Our scenarios of testing are uploaled automaticly from the "Zephyr Scale" (https://......./jira/secure/Tests.jspa#/design?projectId=xxxxxx) with a jenkins job using the pluggin "zephyr scale" (like this:https://support.smartbear.com/zephyr-scale-server/docs/test-automation/integrations/configure-jenkins.html) . And It's working. After the running of the execution of the tests, we generated a "cucumber report" (in a json file) and "junit report" (in a xml file) adding in a folder of my repository GIT From Jenkins, and the "Zephyr Scale pluggin", we want published these results/reports in the "Zephyr Scale" in JIRA. BUT It's not working When we are running the build, we have this issue : {code} [Zephyr Scale] [ERROR] *There was an error trying to publish test results to Zephyr Scale*. Error details: com.adaptavist.tm4j.jenkins.http.Tm4jJiraRestClient.processUploadingResultsResponse(Tm4jJiraRestClient.java:102) com.adaptavist.tm4j.jenkins.http.Tm4jJiraRestClient.uploadCucumberFile(Tm4jJiraRestClient.java:36) com.adaptavist.tm4j.jenkins.extensions.postbuildactions.TestResultPublisher.perform(TestResultPublisher.java:87) com.adaptavist.tm4j.jenkins.extensions.postbuildactions.TestResultPublisher.perform(TestResultPublisher.java:67) jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80) hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803) hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752) hudson.model.Build$BuildExecution.post2(Build.java:177) hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:697) hudson.model.Run.execute(Run.java:1932) hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) hudson.model.ResourceController.execute(ResourceController.java:97) hudson.model.Executor.run(Executor.java:429) *There was an error with the Jira Instance(https://........./jira). Http Status Code: 500* [Zephyr Scale] [ERROR] Tests results have not been sent to Zephyr Scale ERROR: Build step failed with exception java.lang.RuntimeException at com.adaptavist.tm4j.jenkins.extensions.postbuildactions.TestResultPublisher.perform(TestResultPublisher.java:76) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752) at hudson.model.Build$BuildExecution.post2(Build.java:177) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:697) at hudson.model.Run.execute(Run.java:1932) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Build step 'Zephyr Scale: Publish Test Results' changed build result to FAILURE Build step 'Zephyr Scale: Publish Test Results' marked build as failure Finished: FAILURE {code} +In my job jenkins I used these params+ > Manage Source Code/Git/Repositories/Repository URL = url of my git > Manage Source Code/Git/Repositories/Credentials = my credentials > Manage Source Code/Git/Branches to build/Branch Specifier = the branch where are the json cucumber report > Action After the build/Zephy Scale: Publish Test Results/Jira Instance = url of my jira > Action After the build/Zephy Scale: Publish Test Results/Project Key = the key of my project > Action After the build/Zephy Scale: Publish Test Results/Test framework = Cucumber > Action After the build/Zephy Scale: Publish Test Results/File path = the path of the cucumber reports (.json) Do you know why the publish of my cucumber results in the zephyr scale JIRA pushed a server error? Do you have an exemple of json file to send a result in Zephyr Scale? In attachment my cucumber result file (but in .txt) Note I use : -Zephyr Scale Server - version8.0.3 - without usedAPI Zephyr KEY Thank you in advance for your help and advices Best regards YannickSolved3.8KViews0likes5Comments