MrChecker - WebApi - Module

MrChecker WebApi supports: - testing REST and SOAP services, - sending REST queries (POST, GET, PUT, PATCH, DELETE), - parsing XML, JSON and HTML documents, - handling Cookies, - SSO (Single Sign-On) authentication process.

License

License

GroupId

GroupId

com.capgemini.ntc
ArtifactId

ArtifactId

mrchecker-webapi-module
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

MrChecker - WebApi - Module
MrChecker WebApi supports: - testing REST and SOAP services, - sending REST queries (POST, GET, PUT, PATCH, DELETE), - parsing XML, JSON and HTML documents, - handling Cookies, - SSO (Single Sign-On) authentication process.
Project URL

Project URL

https://github.com/devonfw/devonfw-testing
Project Organization

Project Organization

Capgemini - Nearshore Test Center - Poland
Source Code Management

Source Code Management

http://github.com/devonfw/devonfw-testing/tree/master

Download mrchecker-webapi-module

How to add to project

<!-- https://jarcasting.com/artifacts/com.capgemini.ntc/mrchecker-webapi-module/ -->
<dependency>
    <groupId>com.capgemini.ntc</groupId>
    <artifactId>mrchecker-webapi-module</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.capgemini.ntc/mrchecker-webapi-module/
implementation 'com.capgemini.ntc:mrchecker-webapi-module:1.0.1'
// https://jarcasting.com/artifacts/com.capgemini.ntc/mrchecker-webapi-module/
implementation ("com.capgemini.ntc:mrchecker-webapi-module:1.0.1")
'com.capgemini.ntc:mrchecker-webapi-module:jar:1.0.1'
<dependency org="com.capgemini.ntc" name="mrchecker-webapi-module" rev="1.0.1">
  <artifact name="mrchecker-webapi-module" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.capgemini.ntc', module='mrchecker-webapi-module', version='1.0.1')
)
libraryDependencies += "com.capgemini.ntc" % "mrchecker-webapi-module" % "1.0.1"
[com.capgemini.ntc/mrchecker-webapi-module "1.0.1"]

Dependencies

compile (6)

Group / Artifact Type Version
com.capgemini.ntc : allure-core-module jar 4.12.0.6
io.rest-assured : rest-assured jar 3.0.6
com.github.tomakehurst : wiremock jar 2.15.0
com.opentable : wiremock-body-transformer jar 1.1.6
com.jamesmurty.utils : java-xmlbuilder jar 1.2
org.jasypt : jasypt jar 1.9.2

Project Modules

There are no modules declared in this project.

MrChecker template

This repository includes a template to make test using MrChecker and an example.

How to use

To use this template the following steps have to be followed:

  • Download the template.

  • Import it as Maven project using and IDE like Eclipse or InteliJ.

  • Write the code to test an application.

What is included?

Commons

  • resources/settings.properties: List of properties for each test module.

  • resources/secretData: File used to encrypt/decrypt sensitive data used during test execution. For safety please do not keep this file in repository, read more How to keep sensitive data .

  • resources/environments/environments.csv: List of variables with different values based of used test environment. Read more How to use test environments.

Classic Junit structure

  • test/java/com.capgemini.mrchecker/<Module_name>/junit: Folder which includes a java file (MainTest.java) with methods recommended to build a basic test.

  • main/java/com.capgemini.mrchecker/<Module_name>/: Contains a template (MainPage.java) with methods necessary to build a basic page object.

Cucumber structure

  • test/java/com.capgemini.mrchecker/cucumber: Folder to store the cucumber tests (MainCucumberTest.java).

  • test/java/com.capgemini.mrchecker/cucumber/features: Directory to keep cucumber files with features for each test module (basicScenario.features).

  • test/java/com.capgemini.mrchecker/cucumber/stepdefs: Directory to keep cucumber files with steps definition for each test module.

  • test/java/com.capgemini.mrchecker/cucumber/shared: Directory to keep cucumber files with shared data tables for each test module.

The example folder also has a the following tests:

  • Test Data Driven (TDD) Inside test/java/com.capgemini.mrchecker/core/datadriven.

  • Behaviour Driven Development (BDD): Situated on test/java/com.capgemini.mrchecker/cucumber.

We are in a process of tranition to JUNIT5 examples for JUNIT4 are available here

com.capgemini.ntc

devonfw

The Open Source Standard Software Development Platform for state of the art Cloud Native Micro Service and Multi Platform Rich Web Apps

Versions

Version
1.0.1
1.0.0