Coder Social home page Coder Social logo

stasonchik33 / aute-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bsc-rus/aute-framework

0.0 1.0 0.0 4.13 MB

The Framework for automating isolated or complex testing of the REST API

License: Apache License 2.0

TypeScript 2.89% JavaScript 81.69% HTML 2.18% CSS 0.14% Java 13.07% Batchfile 0.01% Shell 0.01% PowerShell 0.02%

aute-framework's Introduction

AuTe Framework - Auto Test Framework

Projects

Name Description
atf-application AuTe Framework application
atf-wiremock Wiremock application
atf-executor Test execution logic
atf-commons Common components for all projects
atf-application-ui Frontend for AuTe Framework
atf-wiremock-ui Frontend for Wiremock

Requirements

  • JDK 1.8
  • Apache Maven 3
  • NodeJS
  • npm

Build and run AuTe Framework

  1. Clone project
  2. Build project with install nodeJS packages mvn clean package -P npm-install
  3. Create working directory for application
  4. Place in working directory:
  5. Run in working directory java -Dloader.path=lib/ -jar atf-application-version.jar or use run script

env.yml description

  • projectsDirectoryPath - path to tests repository
  • historyLimit -
  • projectStandMap:
    • PROJECT_CODE_1:
      • serviceUrl - URL of the application under test
      • dataBase:
        • url - URL to database
        • user - database user
        • password - database password
      • wireMockUrl - wiremock URL
    • PROJECT_CODE_2: ...

Build and run wiremock

  1. Clone project
  2. Build project with install nodeJS packages mvn clean package -P npm-install
  3. Create working directory
  4. Place in working directory:
    • atf-wiremock-version.jar
    • create application.properties file
    • create wiremock mappings configuration file
  5. Run in working directory java -Dloader.path=lib/ -Dfile.encoding=UTF-8 -jar atf-wiremock-version.jar

application.properties file description

Property Description
server.port application run port
logging.file log file name
mq.manager JMS provider name
mq.host JMS host
mq.port JMS port
mq.username JMS username
mq.password JSM password
mq.default.destination.queue.name
properties.yaml.file Wiremock mappings configuration file name
test.id.header.name

Wiremock mappings configuration file description

Wiremock mapping configuration file has json format.

Property Description
id mock's id
request mock's request patter
request.url JMS provider name
request.method JMS host
request.headers JMS port
request.bodyPatterns JMS username
response mock's response
response.status response status
response.body response body
response.headers response headers
uuid mock's uuid

IBM MQ mocking

For mocking IBM MQ you have to find and download

  • com.ibm.mq.allclient.jar
  • jms.jar and put it in /lib folder or another. You can find ibm libs in fix pack Fix Pack 8.0.0.5 for WebSphere MQ v8 or copy it from installed IBM product. You have to put these libs in application classpath for atf-application and for atf-wiremock.

aute-framework's People

Contributors

pgolovkin avatar olyaslyunkova avatar

Watchers

Stanislav avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.