Serenity JIRA api returning only 50 issues - serenity-bdd

I am using the lib serenity-jira-requirements-provider for jira integration with serenity. Understand that JIRA had put upper limit to return only 50 issues using the API and same is displayed in serenity report.
Is there any workaround to fetch all issues not limiting to only 50 ?

Related

Load testing with Jmeter and selenium plugin

I'm looking to perform a browser based load test on my application. I was looking this option to use selenium plugin with Jmeter. So that I can write the required UI flow with Selenium within Jmeter and parameterize using Jmeter options.
I've used Jmeter for http/https request with 400/500 concurrent users.
Is it possible to use Jmeter + Selenium plugin for a browser level load test with around 400/500 concurrent users?
Thank you
Theoretically yes but you will need to think about the hardware.
As per Firefox 102 System Requirements one browser instance needs:
1 CPU core
2 GB of RAM
so for 500 browsers you will need at least 501 core and at least 1001 GB or RAM so most probably you will have to go for Distributed Testing
Also as per WebDriver Sampler documentation:
Note: It is NOT the intention of this project to replace the HTTP Samplers included in JMeter. Rather it is meant to compliment them by measuring the end user load time.
Also as per Selenium documentation
Performance testing using Selenium and WebDriver is generally not advised. Not because it is incapable, but because it is not optimised for the job and you are unlikely to get good results.
So I think you need to conduct the main load on HTTP protocol level and use 1-2 instances of real browser for frontend (client-side) performance testing.

Karate UI and Gatling [duplicate]

I am developing WebUI automation tests using Karate 0.9.5.RC5 and it is working wonderfully. Does anyone know how to execute performance testing in Karate for WebUI Automation tests?
That's great to hear and thanks for the feedback. To be honest, we have focused on API perf testing and UI functional test automation so far. Maybe you can help us by experimenting and sharing what you find.
You must be aware of the Gatling integration for API performance testing. So we have some pieces of the puzzle in place.
So maybe a hybrid strategy is best:
identify the API calls being made by the UI, in the future we would like to derive them automatically from the Chrome network / devtools
manually convert the API calls to Karate tests, note that the VS Code plugin has an option to import from cURL
now you can convert the Karate tests to a performance test, and for most teams, this is sufficient
if needed, you can add some Karate calls to load HTML and static resources to make the load profile more realistic
finally, it may be possible to run a Karate UI test in parallel, just to measure "real user" experience and measure the HTML / JS load times etc on the browser side. we don't have this in place yet, but it should be possible to get all the page timings and perf-stats from Chrome
potentially you could look at spinning up multiple Chrome instances in parallel using Docker - but again, this is something yet to be explored

Is it possible to execute performance test in Karate for WebUI Automation?

I am developing WebUI automation tests using Karate 0.9.5.RC5 and it is working wonderfully. Does anyone know how to execute performance testing in Karate for WebUI Automation tests?
That's great to hear and thanks for the feedback. To be honest, we have focused on API perf testing and UI functional test automation so far. Maybe you can help us by experimenting and sharing what you find.
You must be aware of the Gatling integration for API performance testing. So we have some pieces of the puzzle in place.
So maybe a hybrid strategy is best:
identify the API calls being made by the UI, in the future we would like to derive them automatically from the Chrome network / devtools
manually convert the API calls to Karate tests, note that the VS Code plugin has an option to import from cURL
now you can convert the Karate tests to a performance test, and for most teams, this is sufficient
if needed, you can add some Karate calls to load HTML and static resources to make the load profile more realistic
finally, it may be possible to run a Karate UI test in parallel, just to measure "real user" experience and measure the HTML / JS load times etc on the browser side. we don't have this in place yet, but it should be possible to get all the page timings and perf-stats from Chrome
potentially you could look at spinning up multiple Chrome instances in parallel using Docker - but again, this is something yet to be explored

How to integrate karate-gatling with Grafana & influxdb to monitor result online

I'a using karate to run api testing and leveraging the same performance tests with karate-gatling, but currently I want to integrate grafana & influxdb to show report online
You can see if this thread on integrating Allure / Extent / ReportPortal gives you some hints:
https://github.com/intuit/karate/issues/619

T5 page request return blank layout under heavy load test

I recently have an application develop with tapestry 5.1 deploy on Weblogic + oracle database. The pages work well under normal usage but went nuts after stress testing.
I am using hibernate + spring security module from tapestry on the web page login, and ramp up 1000 users on the login process. Upon processing 500 users login, the application seems to be "exhausted" and only response the bare layout as html on all requests(regardless if the request on any page, css, js and etc).
Also notice the javascript onDomLoaded is now empty:
Tapestry.onDOMLoaded(function() {
});
Which should normally:
Tapestry.onDOMLoaded(function() {
Tapestry.init({
"linkZone":[["forgotPassword","loginZone","/duc/login.forgotpassword"]],
"zone":[{"update":"show","element":"loginZone"}]});
});
Weirdly, when the XDebug on JVM is set, the problem seems to be solved. Further analysis on the server, it only use nearly 50% of cpu, 40% or memory, 40 connections to the database whilst the load test.
Anyone have any idea?
Helps are much appreciated.
Many thanks.
Please check the mailing list .. this was resolved as an OutOfMemory error, not really related to Tapestry at all.
take out -XX:+UseCompressedOops from your vm arguments! ;)