Developed few scripts using GATLING tool
Able to execute those scripts as a standalone basis
Execution done through GATLING provided .bat file
Triggering of the batch file will ask for user inputs during run time to
select which scenario to simulate
Trying to integrate these scripts and trigger via JENKINS -
As parameterizing the argument does not support the GATLING provided bat
file
Configuring the GATLING provided bat file results in failure of build -
as it requires a user input during run time
Please anyone can provide a step wise approach to integrate GATLING scripts in JENKINS
Gatling support passing parameter : http://gatling.io/docs/current/cookbook/passing_parameters/
Gatling seems a Java tool and execute script by a .bat/.sh file, so that you can inspect what command and parameters it used in backgounnd sence with some tool's help. like 'processhacker' is a enhancement of Windows Task Management. with it you can see the whole command to help you find out how to pass scenario you want to run in command line. If 'processhacker' can't help that, you need to read the souce code of Gatling or send support mail to its company to ask help.
Related
I would like to ask is there any way to query run time build steps by using Jenkins pipeline REST API? I refer to this link https://github.com/jenkinsci/pipeline-stage-view-plugin/tree/master/rest-api and it seems like I can't get a run time build steps command line that I configure for Jenkins pipeline job.
Any suggestions?
It seems there is no possibility to get this information via the REST API. I found a solution somewhere.
With
http://Serverurl/job/jobname/config.xml
you can download the config file and parse the XML. Doing it with PowerShell and it's working fine.
I'm new in this kind of subject.
I'm trying to use Jenkins to run my Protractor automation.
My question is - When I create a new job, which build step should I choose? (execute batch command, execute shell, etc)
And what should be happen in the Protractor's side?
If there are any more critic details about the configuration I should know - Please write them.
* I'm using WINDOWS*
The choice between batch or shell depends on you. You can use the one you are more comfortable with. Sounds like it is window, so you can start with batch.
Jenkins will run automatically the workflow that you decided to implement. So you need to know how will your full workflow look like in command-line.
Usually it is something like that:
pull the sources
build it
run the tests (unit-test, integration, regression, etc.)
send the report
For the protractor, from the official doc, to run the configured tests:
protractor conf.js
https://www.protractortest.org/#/
As it is your first time doing this, just keep in mind that anything that you qre able to do with command-line, you will be able to do it as well with Jenkins.
I am using ghostinspector to record and run tests. I have also seen API integration.
Is there a way I can create a build and when I trigger this build, it runs test on ghostinspector. (I am able to do this using custom build command in jenkins which makes curl request)
In additional to triggering build I would like to see result in jenkins as well. does ghostinspector or phantomjs test script returns result in TAP format or any other format which jenkins can show as test results
Full disclosure: I work for Ghost Inspector.
We now offer the ability to download results from your test suite in XUnit format via our API that you should be able to use in Jenkins to report on your suite status.
Hope that helps.
I am new to Jenkins, just finish to configure my first build. My question how can I run Jenkins build from my pc? I mean via command line or some script or java code, I just need to trigger it. Where do I start?
Try reading the documentation about consuming jenkins API, see the examples using curl CLI tool.
Also here's a Java API Client example for you to inspect.
Is it possible to integrate Parasoft SOA webservices test with Jenkins?
I have a soatest project created to test my webservices. I would like it to automate running soatest scripts through Jenkins in each build. Is there any possible way we can perform this task?
I hope you guys can understand the question
Thank you in advance!
You can use soatestcli to run tests in a Jenkins shell or batch build step, if your licence allows that. The normal syntax is
soatestcli -data absolutePathToYourWorkspace -config 'user://YourTestConfigurationName' -resource YourProject/YourTestFile.tst -report .
You can also use the HTML Publisher plugin or DocLinks plugin to publish your report.html to Jenkins.