SlideShare a Scribd company logo
Crossant Run Modes
Copyright © 2016. All rights reserved.
https://bitbucket.org/wishcoder/crossant
• us.wishcoder.marketplace.server
– This application acts as a marketplace server and
communicate with marketplace clients. Checkout
source code in Eclipse as Java/Maven project.
• us.wishcoder.marketplace.client
– This application acts as a client and communicate
with marketplace server. Checkout source code in
Eclipse as Java/Maven project.
• This document uses these applications to
show Crossant usage
Copyright © 2016. All rights reserved.
• Server Mode
– Run sequential scenario tests in automated mode.
– Crossant API will seamlessly launch server and client programs based on
the scenario settings in provided TestSuite.xlsx
• Stand Alone Mode
– Run sequential scenario tests in manual mode
– Start Crossant server program
– Start separate Crossant client programs for each user session in TestSuite.xlsx
• Compare Mode
– Compare object states
Copyright © 2016. All rights reserved.
• Configure User1 session tab in
us.wishcoder.marketplace.clientsrcresourcessuitessuite1TestSuite.xlsx
Copyright © 2016. All rights reserved.
Excel Tag Description Example
Jvmargs Provide each required application JVM argument per row.
Make sure to surround JVM argument in double quotes (")
Use ‘-XshowSettings:properties’ in Eclipse
Run/Debug configuration window and run
application to see –classpath entries
Tests Provide test class to execute all test cases. us.wishcoder.marketplace.client.tests.TestBuyS
ell
• Configure User2 session tab in
us.wishcoder.marketplace.clientsrcresourcessuitessuite1TestSuite.xlsx
Copyright © 2016. All rights reserved.
Excel Tag Description Example
Jvmargs Provide each required application JVM argument per row.
Make sure to surround JVM argument in double quotes (")
Use ‘-XshowSettings:properties’ in Eclipse
Run/Debug configuration window and run
application to see –classpath entries
Tests Provide test class to execute all test cases us.wishcoder.marketplace.client.tests.TestBuyS
ell
• Configure scenario tab ‘scenerio-buy-sell’ in
us.wishcoder.marketplace.clientsrcresourcessuitessuite1TestSuite.xlsx
Copyright © 2016. All rights reserved.
• Run us.wishcoder.marketplace.server.MarketplaceServerApp
– This will start sample marketplace server and listen to communication from
us.wishcoder.marketplace.client
Copyright © 2016. All rights reserved.
• Run us.wishcoder.crossant.launcher.CrossantServerLauncher from
us.wishcoder.marketplace.client eclipse project
– Provide JVM arguments: -Drunmode=server -Dtestsuite=suite1
– This will start Crossant server and client programs in automated mode. In this mode JUnit results will
be written to us.wishcoder.marketplace.clientresultssuitessuite1 folder
Copyright © 2016. All rights reserved.
• Run us.wishcoder.marketplace.server.MarketplaceServerApp
– This will start sample marketplace server and listen to communication from
us.wishcoder.marketplace.client
Copyright © 2016. All rights reserved.
• Run us.wishcoder.crossant.launcher.CrossantServerLauncher from
us.wishcoder.marketplace.client eclipse project
– Provide JVM arguments: -Drunmode=standalone -Dtestsuite=suite1
– Use TestSuite.xlsx fil from previous setup
– This will start Crossant server in standalone mode and wait for two Crossant client sessions to start
and communicate with Crossant server:
Copyright © 2016. All rights reserved.
• Run us.wishcoder.crossant.launcher. CrossantClientLauncher from
us.wishcoder.marketplace.client eclipse project
– Provide JVM arguments: -Drunmode=standalone
– Use TestSuite.xlsx fil from previous setup
– Provide following command line arguments for user1:
• <eclipse workspace>us.wishcoder.marketplace.clienttargetclasses
• suitessuite1
• suite1
• suitessuite1TestSuite.xlsx
• user1
– This will start Crossant client session for user1 in standalone mode:
Copyright © 2016. All rights reserved.
• Run us.wishcoder.crossant.launcher. CrossantClientLauncher from
us.wishcoder.marketplace.client eclipse project
– Provide JVM arguments: -Drunmode=standalone
– Use TestSuite.xlsx fil from previous setup
– Provide following command line arguments for user2:
• <eclipse workspace>us.wishcoder.marketplace.clienttargetclasses
• suitessuite1
• suite1
• suitessuite1TestSuite.xlsx
• user2
– This will start Crossant client session for user2 in standalone mode:
Copyright © 2016. All rights reserved.
– Crossant server will execute test scenario configured in TestSuite.xlsx after user1 and user2 are
sucessfuly connected to crossant server. JUnit result will be saved in <user
workspace>us.wishcoder.marketplace.clientresultssuitessuite1 folder
Copyright © 2016. All rights reserved.
• Configure compare tab in
us.wishcoder.marketplace.clientsrcresourcessuitessuite1TestSuite.xlsx
Copyright © 2016. All rights reserved.
Excel Tag Description Example
Ignore Ignore state compare TRUEFALSE
Scenario Scenario tab name used to export object state scenario-buy-sell
Class JUnit test class us.wishcoder.marketplace.client.tests
.TestBuySell
Method Method annotated with @CrossantStateWriter exportSellItemsState
Date_Source Source date 2016-01-30
Date_Compare Compare date 2016-01-31
– Run us.wishcoder.crossant.compare.UnitCompare main class from your eclipse project. Provide
following JVM command line argument in Eclipse Run or Debug profile:
-Dtestsuite=suite1
– Comparison result will be saved in <your eclipse project>/results/suites/suite1/compare folder
Copyright © 2016. All rights reserved.
https://bitbucket.org/wishcoder/crossant
Ajay Singh [message4ajay@gmail.com]

More Related Content

PPT
S E R V L E T S
PPTX
Java in mule part 1
PDF
Reactive Streams and RxJava2
PPTX
Java mule
PPTX
Angular js 2.0
PPTX
Anypoint mq acknowledgement mode
PPTX
MUnit run and wait scope
PPT
Servlet 01
S E R V L E T S
Java in mule part 1
Reactive Streams and RxJava2
Java mule
Angular js 2.0
Anypoint mq acknowledgement mode
MUnit run and wait scope
Servlet 01

What's hot (20)

PPTX
Maven tools & archetypes
PPTX
Mule quartz hari_gatadi
PDF
Java Server Pages
PDF
React js t3 - es6
PPTX
Stored procedure in Mule
PPTX
Junit in mule demo
PPTX
Invoke component demo in mule
PPTX
Using maven with mule
ODP
Fluxxor react library
PDF
React js t6 -lifecycle
PPTX
Mule testing
PDF
«ReactiveCocoa и MVVM» — Николай Касьянов, SoftWear
PPTX
Mocking with salesforce using Munit
PDF
React js use contexts and useContext hook
PDF
React js t1 - introduction
PPTX
Jms queues
PPTX
Composite source in bound and out-bound
PPTX
Deploying and Running in Mule
PDF
Встреча №9. Будущее паттерна MVVM в iOS приложениях, Денис Лебедев
Maven tools & archetypes
Mule quartz hari_gatadi
Java Server Pages
React js t3 - es6
Stored procedure in Mule
Junit in mule demo
Invoke component demo in mule
Using maven with mule
Fluxxor react library
React js t6 -lifecycle
Mule testing
«ReactiveCocoa и MVVM» — Николай Касьянов, SoftWear
Mocking with salesforce using Munit
React js use contexts and useContext hook
React js t1 - introduction
Jms queues
Composite source in bound and out-bound
Deploying and Running in Mule
Встреча №9. Будущее паттерна MVVM в iOS приложениях, Денис Лебедев
Ad

Similar to Crossant Run Modes (20)

PPTX
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
PDF
Wso2 test automation framework internal training
PPTX
Mastering Distributed Performance Testing
PDF
Performance testing meets the cloud - Artem Shendrikov
PPTX
Jmeter_Presentaion_Parag
PDF
Performance Testing - Apache Benchmark, JMeter
PDF
Javascript Unittesting with js-test-driver
PPT
Advanced Load Runner
PDF
[FullStack NYC 2019] Effective Unit Tests for JavaScript
PPT
advanced_load_runner.ppt
PPTX
JLove - Replicating production on your laptop using the magic of containers
PPTX
Using Jenkins and Jmeter to build a scalable Load Testing solution
PPTX
Dive into Angular, part 5: Experience
PDF
WSO2 Test Automation Framework : Approach and Adoption
PPTX
JavaScript, VBScript, AJAX, CGI
DOC
Best Jmeter Interview Questions- Prepared by Working Professionals
PPT
Automation testing material by Durgasoft,hyderabad
PPT
Automation testing by Durgasoft in Hyderabad
PPT
Performance testing with loadrunner by kc
DOC
Selenium Automation Using Ruby
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
Wso2 test automation framework internal training
Mastering Distributed Performance Testing
Performance testing meets the cloud - Artem Shendrikov
Jmeter_Presentaion_Parag
Performance Testing - Apache Benchmark, JMeter
Javascript Unittesting with js-test-driver
Advanced Load Runner
[FullStack NYC 2019] Effective Unit Tests for JavaScript
advanced_load_runner.ppt
JLove - Replicating production on your laptop using the magic of containers
Using Jenkins and Jmeter to build a scalable Load Testing solution
Dive into Angular, part 5: Experience
WSO2 Test Automation Framework : Approach and Adoption
JavaScript, VBScript, AJAX, CGI
Best Jmeter Interview Questions- Prepared by Working Professionals
Automation testing material by Durgasoft,hyderabad
Automation testing by Durgasoft in Hyderabad
Performance testing with loadrunner by kc
Selenium Automation Using Ruby
Ad

Recently uploaded (20)

PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Encapsulation theory and applications.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
A Presentation on Artificial Intelligence
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
1. Introduction to Computer Programming.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Spectroscopy.pptx food analysis technology
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Approach and Philosophy of On baking technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Machine learning based COVID-19 study performance prediction
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Encapsulation theory and applications.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
A Presentation on Artificial Intelligence
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
1. Introduction to Computer Programming.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine Learning_overview_presentation.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Spectroscopy.pptx food analysis technology
20250228 LYD VKU AI Blended-Learning.pptx
Approach and Philosophy of On baking technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
A comparative analysis of optical character recognition models for extracting...
Machine learning based COVID-19 study performance prediction
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf

Crossant Run Modes

  • 1. Crossant Run Modes Copyright © 2016. All rights reserved. https://bitbucket.org/wishcoder/crossant
  • 2. • us.wishcoder.marketplace.server – This application acts as a marketplace server and communicate with marketplace clients. Checkout source code in Eclipse as Java/Maven project. • us.wishcoder.marketplace.client – This application acts as a client and communicate with marketplace server. Checkout source code in Eclipse as Java/Maven project. • This document uses these applications to show Crossant usage Copyright © 2016. All rights reserved.
  • 3. • Server Mode – Run sequential scenario tests in automated mode. – Crossant API will seamlessly launch server and client programs based on the scenario settings in provided TestSuite.xlsx • Stand Alone Mode – Run sequential scenario tests in manual mode – Start Crossant server program – Start separate Crossant client programs for each user session in TestSuite.xlsx • Compare Mode – Compare object states Copyright © 2016. All rights reserved.
  • 4. • Configure User1 session tab in us.wishcoder.marketplace.clientsrcresourcessuitessuite1TestSuite.xlsx Copyright © 2016. All rights reserved. Excel Tag Description Example Jvmargs Provide each required application JVM argument per row. Make sure to surround JVM argument in double quotes (") Use ‘-XshowSettings:properties’ in Eclipse Run/Debug configuration window and run application to see –classpath entries Tests Provide test class to execute all test cases. us.wishcoder.marketplace.client.tests.TestBuyS ell
  • 5. • Configure User2 session tab in us.wishcoder.marketplace.clientsrcresourcessuitessuite1TestSuite.xlsx Copyright © 2016. All rights reserved. Excel Tag Description Example Jvmargs Provide each required application JVM argument per row. Make sure to surround JVM argument in double quotes (") Use ‘-XshowSettings:properties’ in Eclipse Run/Debug configuration window and run application to see –classpath entries Tests Provide test class to execute all test cases us.wishcoder.marketplace.client.tests.TestBuyS ell
  • 6. • Configure scenario tab ‘scenerio-buy-sell’ in us.wishcoder.marketplace.clientsrcresourcessuitessuite1TestSuite.xlsx Copyright © 2016. All rights reserved.
  • 7. • Run us.wishcoder.marketplace.server.MarketplaceServerApp – This will start sample marketplace server and listen to communication from us.wishcoder.marketplace.client Copyright © 2016. All rights reserved.
  • 8. • Run us.wishcoder.crossant.launcher.CrossantServerLauncher from us.wishcoder.marketplace.client eclipse project – Provide JVM arguments: -Drunmode=server -Dtestsuite=suite1 – This will start Crossant server and client programs in automated mode. In this mode JUnit results will be written to us.wishcoder.marketplace.clientresultssuitessuite1 folder Copyright © 2016. All rights reserved.
  • 9. • Run us.wishcoder.marketplace.server.MarketplaceServerApp – This will start sample marketplace server and listen to communication from us.wishcoder.marketplace.client Copyright © 2016. All rights reserved.
  • 10. • Run us.wishcoder.crossant.launcher.CrossantServerLauncher from us.wishcoder.marketplace.client eclipse project – Provide JVM arguments: -Drunmode=standalone -Dtestsuite=suite1 – Use TestSuite.xlsx fil from previous setup – This will start Crossant server in standalone mode and wait for two Crossant client sessions to start and communicate with Crossant server: Copyright © 2016. All rights reserved.
  • 11. • Run us.wishcoder.crossant.launcher. CrossantClientLauncher from us.wishcoder.marketplace.client eclipse project – Provide JVM arguments: -Drunmode=standalone – Use TestSuite.xlsx fil from previous setup – Provide following command line arguments for user1: • <eclipse workspace>us.wishcoder.marketplace.clienttargetclasses • suitessuite1 • suite1 • suitessuite1TestSuite.xlsx • user1 – This will start Crossant client session for user1 in standalone mode: Copyright © 2016. All rights reserved.
  • 12. • Run us.wishcoder.crossant.launcher. CrossantClientLauncher from us.wishcoder.marketplace.client eclipse project – Provide JVM arguments: -Drunmode=standalone – Use TestSuite.xlsx fil from previous setup – Provide following command line arguments for user2: • <eclipse workspace>us.wishcoder.marketplace.clienttargetclasses • suitessuite1 • suite1 • suitessuite1TestSuite.xlsx • user2 – This will start Crossant client session for user2 in standalone mode: Copyright © 2016. All rights reserved.
  • 13. – Crossant server will execute test scenario configured in TestSuite.xlsx after user1 and user2 are sucessfuly connected to crossant server. JUnit result will be saved in <user workspace>us.wishcoder.marketplace.clientresultssuitessuite1 folder Copyright © 2016. All rights reserved.
  • 14. • Configure compare tab in us.wishcoder.marketplace.clientsrcresourcessuitessuite1TestSuite.xlsx Copyright © 2016. All rights reserved. Excel Tag Description Example Ignore Ignore state compare TRUEFALSE Scenario Scenario tab name used to export object state scenario-buy-sell Class JUnit test class us.wishcoder.marketplace.client.tests .TestBuySell Method Method annotated with @CrossantStateWriter exportSellItemsState Date_Source Source date 2016-01-30 Date_Compare Compare date 2016-01-31
  • 15. – Run us.wishcoder.crossant.compare.UnitCompare main class from your eclipse project. Provide following JVM command line argument in Eclipse Run or Debug profile: -Dtestsuite=suite1 – Comparison result will be saved in <your eclipse project>/results/suites/suite1/compare folder Copyright © 2016. All rights reserved. https://bitbucket.org/wishcoder/crossant Ajay Singh [message4ajay@gmail.com]