Skip to content

Commit

Permalink
Merge pull request #105 from soramitsu/scenarious/add-transfer-asset-scn
Browse files Browse the repository at this point in the history
update scns
  • Loading branch information
timofeevmd authored Jul 3, 2024
2 parents dcac7c7 + 6147b81 commit 045037a
Show file tree
Hide file tree
Showing 3 changed files with 923 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/test/java/requests/Transactions.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

public class Transactions extends Constants {

public static ChainBuilder txPostRegisterDomain = exec(feed(CSV_FEEDER)).exec(feed(PEERS_FEEDER))
public static ChainBuilder postRegisterDomain = exec(feed(CSV_FEEDER)).exec(feed(PEERS_FEEDER))
.exec(
http("registerDomain transaction")
http("tx_register_domain")
.post(session -> {
return session.getString("peer") + Constants.URL_TRANSACTION;
}
Expand All @@ -29,11 +29,11 @@ public class Transactions extends Constants {
}
)
)
).exec(http("registerDomain status").get(Constants.URL_STATUS).check(status().is(200)));
).exec(http("tx_register_domain_status").get(Constants.URL_STATUS).check(status().is(200)));

public static ChainBuilder txPostTransferAsset = exec(feed(CSV_FEEDER)).exec(feed(PEERS_FEEDER))
public static ChainBuilder postTransferAsset = exec(feed(CSV_FEEDER)).exec(feed(PEERS_FEEDER))
.exec(
http("registerDomain transaction")
http("tx_transfer_asset")
.post(session -> {
return session.getString("peer") + Constants.URL_TRANSACTION;
}
Expand All @@ -50,5 +50,5 @@ public class Transactions extends Constants {
}
)
)
).exec(http("registerDomain status").get(Constants.URL_STATUS).check(status().is(200)));
).exec(http("tx_transfer_asset_status").get(Constants.URL_STATUS).check(status().is(200)));
}
Loading

0 comments on commit 045037a

Please sign in to comment.