Giter VIP home page Giter VIP logo

kendarorg / httpansweringmachine Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 3.0 50.6 MB

Mixing trafficparrot, mitm proxy and pact.io, without using all of them. Real mocks, Recording, Inspections, PACT and NULL infrastructure at once

License: MIT License

Java 51.74% JavaScript 17.58% HTML 10.44% CSS 7.82% Dockerfile 0.38% Shell 3.11% Batchfile 1.46% Gherkin 0.52% Vue 6.95%
api-simulation contract-testing dns-hijacking docker hijacking httprecording httpreplay https-hijacking httpsrecording java jdbc mitm mongodb null-infrastructure pact-tests proxy rest reverse-proxy ssl swagger

httpansweringmachine's People

Contributors

kendarorg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

httpansweringmachine's Issues

Utils

  • Json to json schema and verifier
  • xml to xsd and verifier
  • regex tester (for matchers)
  • base64 encode decode

post {
'sample':'text',
'verify':'text'
}

Apply same JS to selected indexes/items

  • Add a script to a row (index or full)
  • Select the -FOLLOWING- rows to which apply the script
  • Click "Apply script to selected"
  • A dialog will appear with the script asking to confirm

Auto test generation from recorder

Probably https://pebbletemplates.io/
generate (given a package name!)

  • Test class
    • Initialization uploading the recording on server
    • All methods to make the calls
    • The summa of all the method calls in order (real @test)
  • Resources
    • For each method call a resource file for req data (if) and one for resp data

Refine PACT run

  • Add js calls on UI
  • Add UI for run (and store their id on the run)
  • Finde weather should add the automatic schema verification or not

Recording api

recorder.localdev.com/api/recording/{id}/record/{action} GET

  • start: create and start
  • stop: stop and save
  • pause
  • restart (when paused)

recorder.localdev.com/api/recording/{id}/replay/{action} GET

  • start: start replaying the id
  • stop: stop and reset
  • pause
  • restart (when paused)

recorder.localdev.com/api/recording

  • GET list all current recordings
  • POST add/update with upload

recorder.localdev.com/api/recording/{id}

  • GET list all records for registrartion (with file refs)

recorder.localdev.com/api/recording/{id}/line/{line}

  • GET show the line without content (if it's an image show it)
  • PUT modify the line
  • DELETE delete the line

recorder.localdev.com/api/recording/{id}/line/{line}/{request/response}

  • GET download the data (with according content type)
  • POST add/modify the content
  • DELETE delete content

Test json verification noclass jacksonfeature

java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/util/JacksonFeature

at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:655)
at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:558)
at org.kendar.xml.BaseUtils.<init>(BaseUtils.java:21)
at org.kendar.xml.JsonVerificationTests.<init>(JsonVerifi

SSL Ca in java

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.