Acorel
To Acorel.nl
Acorel background

SAP Hybris Cloud for Customer and automated testing

Norbert Hendriksen, 11 January 2017

Introduction

On a regular frequency we get the question whether it is possible to process test cases automatically instead of going through the test scripts manually. The answer to this question is: yes, this is possible. There are various software tools that can assist you in this requirement.

Testplan

SAP, for instance, has a how-to document available, based on the program “HP Loadrunner”, in order to perform a volume test. The steps to a full plan are rather straight forward and equal to other similar test software tools.

The steps are as follows:

  1. Determine the scenarios you want to test, logically these are your critical or most often used processes
  2. Create a volume plan in which you determine how many users you would like to simulate and how much “think” time there should be between each step
  3. Create test cases by using screen recordings
  4. Execute the test cases
  5. Analyse the test results

Some tips and tricks

Should you plan to run a number of automated test cases, then please do not forget to inform SAP on forehand before you run the volume tests. You can do so by creating a ticket in the tenant you will use for your volume tests.

On top of that, it’s very much recommended to execute the test cases in an internet browser which has performed the steps before so the internet cache is up-to-date with the latest Cloud for Customer files such as HTML, CSS and javascript. In other words, the internet browser is not a “cold” browser.

Alternatives

There are a number of alternative test software tools, next to HP loadrunner, some of these are free, some are not. Apache Jmeter (Open source and free) is well known and often used and there are also similar tools such as Iocust and Smartmeter.io.

In conclusion

As you can see there is a variety of options to perform automated tests of your SAP Hybris Cloud for Customer application. The cases you configure can be used multiple times and also in future quarterly updates but do keep in mind that if there are new fields available in an update which affect your processes, you’ll need to update the corresponding test cases.

Norbert Hendriksen

Read all my blogs

Receive our weekly blog by email?
Subscribe here: