Libraries & Frameworks

I have developed an image processing web application and would like to run some load tests to get an idea how it will handle peak usage scenarios.
The application is asynchronous and to simplify things this is the current workflow:
The user logs in, uploads one or more jpeg file, makes choices of processing options (filters, rotation, splits, shapes coordinates extraction etc: all those params are set via ui and sent as part of the POST request to processing services) one service finishes its work, flags the file in a postgres db as ready for the next step so on so forth, some steps are final, and result in the user being notified to take further actions, some other steps are automatically picked up (kind of asynchronous tasks) so the system can carry on processing without user interaction.
My question, how would one approach load testing such asynchronous systems? Is looping to wait for a condition to happen a good practice in automated load testing ? Are there any load testing known best practices for such distributed and asynchronous systems? Any pitfalls to avoid ?
The load testing tool i’ve chosen is LocustIO as it is 100% code. But willing to reconsider others should any third party testing libs are required to accomplish this.

driver = webdriver.Chrome(service=Service(ChromeDriverManager(version=’114.0.5735.16′).install()), options=options)

I have been using this code with selenium version 114.0.5735.16 up until recently however today I received the error message:
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 116.0.5845.96 with binary path /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

I have tried upgrading selenium in terminal and changing my code to use the new 116 but I get a different error message There is no such driver by url

Explore the essentials of DevSecOps and its impact on business security. This blog covers security integration into the software development lifecycle, highlights the role of automation, and outlines best practices to enhance security protocols. Understand the challenges and benefits of implementing DevSecOps, including its crucial role in maintaining robust security standards amidst rising cyber threats.
The post How to Optimize Business Security with DevSecOps? first appeared on TestingXperts.

In 2024, NLP chatbots will be pivotal for optimizing business communication and operations. These AI-driven tools personalize interactions, streamline services, and enhance user experiences, proving essential in digital communication. The blog discusses how businesses use various types of chatbots, like rule-based and AI-powered, to improve customer service and operational efficiency, thereby transforming their role in business growth.
The post How can NLP Chatbots Improve Business Growth in 2024? first appeared on TestingXperts.

The app I want to test is a hybrid app developed with AngularJS.
I’m trying to automate a scenario with Appium.
To open a page with elements to select date -> today, tomorrow and pick a date.
<div class=”item item-divider”>
<p>Select Date</p>
</div>
<button class=”button button-block button-light”>Today</button>

<button class=”button button-block button-light”>Tomorrow</button>

<button class=”button button-block button-light”>Pick a date</button>

Let’s say I select the date as today. How to automate this scenario?

AI interviews can be challenging. You need a solid grasp of complex concepts and practical skills. Whether you’re gearing up for an AI interview or interviewing AI engineers, this list of Artificial Intelligence interview questions and answers will be super helpful. Knowing what to expect gives candidates an edge and helps interviewers gauge skills and…
The post Top 60+ Artificial Intelligence Interview Questions & Answers appeared first on Software Testing Material.

Acing an AI job interview may seem challenging, but with the right preparation and a structured approach, you can increase your chances of success. Here are some steps to help you get ready for an AI job interview: Steps to Ace AI Job Interview Step #1: Understand the Job Requirements Before you start preparing, carefully…
The post How to Ace AI Job Interviews? (10 Steps To Follow) appeared first on Software Testing Material.

In the past while at work, we’ve had to do updates to some major libraries/tools we use in building a web app. For example, we recently upgraded Angular versions and are currently updating our Django version (from 1.10 to 1.11). These updates often have subtle changes that can break existing functionality in unexpected ways.

Is there a good approach or set of approaches to test upgrades like this?

We have roughly 30 Cucumber tests and a few actors that run these tests that have been created based on our service’s personas.

Exemplifying this:

We have a C2C ecommerce platform and an user. Users can either buy or sell. There’s the concept of companies and each user may have more or less rights to do specific actions.
On top of that they may be more or less able to integrate with third party sales/analytics/… systems.

Let’s now say that you have some tests focussing on the publishing and selling of products and then some other tests focussing on the integration with a third party service.

A single user can hold both the right to sell and see reports from analytics service but not necessarily (i.e. a user could be specialised in reporting and another one in selling depending on org structure), but what’s the best practice: to have a single user having both rights or two separate users? And why?