Run multiple Jmeter scripts in parallel from jenkins - maven

I am using jmeter-maven-plugin to run jmeter performance scripts. This plugin execute scripts sequentially. However, I wish to run number of scripts in parallel.
I really don't know quite where to start with this.
Any help would be appreciated.

Not an answer, but a workaround.
You can try to merge all your scripts. Put each of them in it's own Thread Group in a single .jmx.

Related

Is There Ways to Split Cucumber Gradle Tasks Into Separate Cucumber Tasks

I wonder if there is a way to split cucumber gradle task to invoke separate cucumber tasks?
Below is the depiction of what we're trying to do:
We do this because we need to bypass a limitation of Browserstack where for older devices we can only have maximum of 5 parallel threads for each test execution.
Any help is appreciated. Many thanks.

Is there a way to run feature files in parallel using cucumber-js v5.1.0?

There is currently a --parallel option that can run scenarios in parallel using cucumberjs 5.1.0. I want to find out if there is a way to run feature files in parallel instead of scenarios, with this version of cucumberjs.
Looking at the code it looks like there is only the capability to run by scenario https://github.com/cucumber/cucumber-js/blob/master/src/runtime/parallel/master.js#L105 . What is your reason for wanting to run by Feature instead of scenario?
A scenario is meant to be a completely independent test that don't rely on anything set up by the scenarios that ran before it, which is why the makers of cucumber have provided parallel functionality in the way that they have.
Hooks can be used to set up the scenarios individually (by tags or the scenario's name) or run scripts to register users and other test data needed for the tests.
In summary, the way they provide the parallel testing functionality means you are forced to stick to best practices.

Bamboo/Jmeter scripting and integration

I need to produce a number of component integration tests to fit into an existing framework composed of Jmeter and run via Bamboo.
My problem is that I know nothing of Bamboo.
Working in a Linux environment.
Does anyone have any recommendations for either basic tutorials for Bamboo, or links to existing questions on here which would form a good start point for me?
Any help greatly appreciated.
The main idea of adding a JMeter test under continuous integration system control is having unattended JMeter test executions basing on triggers (on version control system commit, periodically, on-demand, whatever).
There are several ways of running a JMeter test via Bamboo, the easiest would be either running a shell Script or Custom Command Executable.
The results can be viewed and analysed using JMeter Aggregator plugin.
See How to Run JMeter in a Continuous Integration Environment With Bamboo for step-by-step configuration instructions and examples.

Jenkins to oracle

How to configure Jenkins to run Query (select, Update) on Oracle database,
Is there any plugin available in Jenkins?
Is there any easy way to write script in python?
Jenkins is a Continuous Integration (CI) tool. It is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early.
Is there any plugin available in Jenkins?
As far as i know, there are no plugins for the type of job you're looking for. However, it does provide you a mechanism to run your own scripts by using various options present in Build section such as running a Win batch script, shell script, perl, python, ant commands etc...
Is there any easy way to write script in python?
If you understand the language well, then yes!
This link might be of some interest: http://176.34.122.30/blog/2009/05/18/continuous-integration-with-oracle-plsql-utplsql-and-hudson/
Plugin to run Sql on Oracle database in Jenkins:
https://wiki.jenkins-ci.org/display/JENKINS/SQLPlus+Script+Runner+Plugin

Can ECTool kick off Hudson Jobs?

I am looking for a way to run Hudson jobs from an Electric Commander pipeline, I know it doesn't make much sense. We are migrating from a Hudson box to Electric Commander and cannot migrate all of the jobs immediately. I have read that ECTool can run Hudson jobs and get the info back within the same pipeline
http://www.electric-cloud.com/blog/2012/05/01/pushing-information-from-external-systems-into-electriccommander/
I can't find what exactly I need to do to kick it off though any tips?
Thanks
Additional Info
I have been studying http://docs.electric-cloud.com/commander_doc/4_2/Help_4_2_3/usingapi.htm and also playing around in the EC command line, I think I need to make a bash file to call the Hudson jobs but I am not sure where to start
The Jenkins plugin at http://plugins.electric-cloud.com/ will work for Hudson as well, I didn't know that

Resources