-
Notifications
You must be signed in to change notification settings - Fork 49
/
test-case-1.sh
14 lines (13 loc) · 1.23 KB
/
test-case-1.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
curl -X PUT "http://localhost:10007/api/cash/self-issue-cash?amount=500¤cy=SGD"
curl -X PUT "http://localhost:10010/api/cash/self-issue-cash?amount=500¤cy=SGD"
curl -X PUT "http://localhost:10013/api/cash/self-issue-cash?amount=500¤cy=SGD"
curl -X PUT "http://localhost:10016/api/cash/self-issue-cash?amount=500¤cy=SGD"
curl -X PUT "http://localhost:10007/api/obligation/issue-obligation?amount=100¤cy=SGD&counterparty=NodeB"
curl -X PUT "http://localhost:10010/api/obligation/issue-obligation?amount=200¤cy=SGD&counterparty=NodeC"
curl -X PUT "http://localhost:10013/api/obligation/issue-obligation?amount=150¤cy=SGD&counterparty=NodeD"
curl -X PUT "http://localhost:10016/api/obligation/issue-obligation?amount=300¤cy=SGD&counterparty=NodeA"
curl -X PUT "http://localhost:10019/api/obligation/issue-obligation?amount=700¤cy=SGD&counterparty=NodeD"
curl -X PUT "http://localhost:10022/api/obligation/issue-obligation?amount=325¤cy=SGD&counterparty=NodeE"
curl -X PUT "http://localhost:10010/api/obligation/issue-obligation?amount=200¤cy=SGD&counterparty=NodeF"
curl -X PUT "http://localhost:10025/api/obligation/issue-obligation?amount=200¤cy=SGD&counterparty=NodeD"