Skip to content

About

this can be used to check diff between two http calls with making only one call to the server but checking the second one also

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

Hyperswitch → UCS Testing

This guide explains how to set up and test Hyperswitch with UCS using a proxy.


Prerequisites


Setup Instructions

1. Apply Branch Changes

Make sure you apply the changes from https://github.com/juspay/hyperswitch/tree/diff-fork to your local copy of Hyperswitch. Make sure you apply the changes form https://github.com/juspay/connector-service/tree/shadow-ucs-diff to your local copy of UCS

2. Install Dependencies

Install required Node.js dependencies:

npm i

Run server

npm start

3. Initialize Mitmproxy

brew install mitmproxy
mitmweb -s forward_code.py --listen-port 8081 --web-port 8082

Certificates

security add-trusted-cert -d -r trustRoot -k ~/Library/Keychains/login.keychain-db ~/.mitmproxy/mitmproxy-ca-cert.pem

what the process of testing

  1. send a req from hyperswitch using postman and see mitmproxy at port localhost:8082 and then you can see the req-diff on localhost:9000

About

this can be used to check diff between two http calls with making only one call to the server but checking the second one also

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages