Run Karate-Gatling Performance test with Blazmeter or Taurus tool - karate

As far as I know, we can integrate Gatling with Blazemeter using Taurus yml file but when I tried to run gatling test simulation file using Taurus I'm getting this error:
object intuit is not a member of package com import com.intuit.karate.gatling.PreDef.karateFeature.
So is there any way how to run Karate Gatling Performance Test using Taurus?

Related

Is there any plan to add the thread option in cucumber CLI to run feature file in parallel rather than running only scenarios?

I am using --thread option while running cucumber Main class. But it run the feature files in paralle. My requirement is to run the feature files in paralle. How can i do that? Does cucumber have any plan to add this feature in CLI. It have support using JUNIT but i want to run from CLI.

Is there a way to compile webdriverio tests to standard selenium files

I have a large number of automated tests written using webdriverio.
I am trying to integrate a security scanner into my build pipeline that is able to use a selenium file to automate the steps needed to get my SPA into a state that security checks can be run. Is there a way to re-use work I have done in webdriverio (pageobjects and such) and convert to a standard selenium file?

How are Selenium automation tests actually setup to run in company following an agile software process?

I have just started learning about test automation in Selenium and found out that most online tutorials would tell you to run the test suite inside an IDE together with a test framework such as TestNG (with testng.xml) and a build tool such as Maven.
When you are working in a software company and told to build a test framework and run automated tests, I don't believe you actually need to fire up your IDE every time you want to execute your test suite. So, my question is, what is the typical setup a software company follows to 'automate' running your test automation scripts?
Software companies are following agile practices and wanna keep up with industry practices. In real projects, CI & CD are used to continuously integrate, deploy and test the software.
Tests are written by SDET using test automation frameworks. While developing test scripts test developers use IDEs like eclipse. However, tests are executed over Jenkins as a job, after required frequency/event.
For example, after every code deployment, Jenkins can automatically trigger your sanity suite, and run regression bi-weekly.
The process' are automated now-a-days with stakeholders demanding agility.
One can invoke selenium java project from command line via .bat file in Jenkins, or using ant/maven as build tools.
IDEs are seldom used to run tests in real world.

Starting Jmeter recording proxy from command-line

In our CI pipeline we are running automated acceptance tests through selenium. We are now looking to run these through a recording proxy and then use the recording as a basis for a load test.
This strategy will help us automatically add new acceptance tests to the load test. We are currently running load tests with JMeter, hence it would be nice to be able to achieve this using the same tools. However we can't figure out a way to start recording from the JMeter command-line interface. Is this at all possible? If not isn't here other tools that has this feature set?
It doesn't seem to be possible as per JMeter 3.1 so you will have to use GUI or go for another tool.
Taurus can be considered as an option, the main features you might be interested in are:
it's free
it's open source
it is command-line application
it supports JMeter and Selenium tests (you can use Taurus to execute them in parallel)
and finally, it comes with Proxy2JMX Converter module which can be used for recording Selenium tests in command-line mode and converting them into a JMeter test plan. Moreover, you will even get automatic correlation of dynamic parameters. See How to Convert Selenium Scripts into the JMX Converter article for details.

Bamboo recognising JBehave tests

I have setup Bamboo to run JBehave tests on a remote agent (with JBehave-web plugin launching test using webdriver), and everything runs fine. Only problem is after the execution is finished Bamboo shows no test executed. I can see the option in Bamboo to select the output of the test results, but it has to be a JUnit xml, and Jbehave reports are only generated in plain text or html.
Any idea how to solve this?
Thanks
I ran in the same situation about a year ago. JBehave "doesn't" integrate with Bamboo out of the box. Although, they have a plugin for Hudson CI.
In my case, such as yours, I resorted in running the tests through the Surefire plugin; the outputs are considered as JUnit tests results and Bamboo can recognize them.
Hope it helps.
There is a really simple way to do this. And I'm currently doing this for our build system.
Write a simple parse script that transforms your plain of html report into JUnit compatible results. And add that script as a task in your Bamboo task, then use Junit parser to parse the results. Boo! You're done! Plus, you've got the capability to quarantine!
This is way much faster than writing a plugin for Bamboo, which involves considerable more time to learn/write.
Setup JBehave with Maven.In Bamboo build plan use Maven task to run it. For getting results in Bamboo use JBehave Task for Bamboo. It will convert JBehave scenarios in tests in Bamboo. If scenario names contains JIRA issue ids, it will link them to JIRA issues.
https://marketplace.atlassian.com/plugins/com.mdb.plugins.jebehaveforbamboo/server/overview
Sample JBehave as Maven Project
https://bitbucket.org/vikasborse/jbehavesampleproject/overview
Download or clone this repository on your local machine.
To run navigate to this project in command line and use command:
"mvn integration-test"