bvpelt / testclient

An implementation of testclient using apache httpcomponents with ssl, proxy and basic authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Usage

Description of usage of TestClient See Usage

Maven dependencies

Find maven dependencies by using https://repository.sonatype.org/

There are a number of tags available for testing.

  • Registries
  • Registrie
  • RegistrieParam

See https://cucumber.io/docs/reference/jvm#java)

To run maven with testoptions use

  • mvn test -Dcucumber.options="--help"
  • mvn test -Dcucumber.options="--tags @Registries"
  • mvn test -Dcucumber.options="--tags @Registries,@Registrie,@RegistrieParam"

Github

See Git Branching Basic Branching and Merging for usefull documentation about using branches/merges in git.

Maven assembly

Example maven assembly

Slf4J

Documentation

Json

See Json

Cucumber

See Cucumber

SSL connection

Import certificates into keystore proxykeystore.jks Make sure the proxykeystore.jks is at the root of the class path (for now )

for details see Certificates

keytool -importcert -file certificate.cer -keystore keystore.jks -alias "Alias"

The content of the keystore is

keytool -keystore proxykeystore.jks -list
Enter keystore password:

Keystore type: JKS
Keystore provider: SUN

Your keystore contains 3 entries

+ trial pkioverheid test root ca - g2, Sep 26, 2015, trustedCertEntry,
Certificate fingerprint (SHA1): FB:C4:7C:0B:BC:87:73:14:43:D2:DB:46:9D:B6:98:F6:AF:2A:9D:DE
+ kadasterca, Sep 24, 2015, trustedCertEntry,
Certificate fingerprint (SHA1): 8E:8C:08:4F:3E:AE:65:78:01:E0:77:5B:5B:F8:34:58:DF:F0:A2:69
+ www-proxy.cs.kadaster.nl, Sep 24, 2015, trustedCertEntry,
Certificate fingerprint (SHA1): 5B:90:99:30:C0:29:0C:34:59:BD:8D:63:D9:2B:B4:1C:CC:F8:46:30

References

Springboot - package hello

Markdown

Rest

Icons

About

An implementation of testclient using apache httpcomponents with ssl, proxy and basic authentication


Languages

Language:Java 92.5%Language:Gherkin 7.5%