CodeSV Blog!by CA Technologies, A Broadcom Company

Refer to Blazemeter Mock Services transactions from code

How Can We Help?
< Back

From release 2.0.0, CodeSV provides functionality to use transactions defined in Blazemeter Mock Services in code to replace endpoint definitions.


To select transactions from Blazemeter Mock Services, should be declared TxnRepoStore object. Using useTransaction methods on store object user can specify criteria for filtering transactions.


 workspaces = {"Default Workspace"},
 apiKey = "...",
 apiSecret = "...",
 uri = ""
public class CodeSVExampleTest {

 public VirtualServerRule virtualServerRule = new VirtualServerRule();

 private TxnRepoStore store = new TxnRepoStoreBuilder().build(this);

 public void codeSVExampleTest() {
 // virtualization based on Transactions from Repository
 store.useTransaction("Example transaction", "Default Service");

 /* rest of the test */


Previous Upload definitions to Blazemeter Mock Services
Table of Contents

Comments are currently closed.