SlideShare a Scribd company logo
1 of 15
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

What's hot

Maven tools & archetypes
Maven tools & archetypesMaven tools & archetypes
Maven tools & archetypesSon Nguyen
 
Mule quartz hari_gatadi
Mule quartz hari_gatadiMule quartz hari_gatadi
Mule quartz hari_gatadiHari Gatadi
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server PagesRami Nayan
 
Stored procedure in Mule
Stored procedure in MuleStored procedure in Mule
Stored procedure in MuleKhasim Saheb
 
Junit in mule demo
Junit in mule demo Junit in mule demo
Junit in mule demo javeed_mhd
 
Invoke component demo in mule
Invoke component demo in muleInvoke component demo in mule
Invoke component demo in muleRamakrishna kapa
 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with muleSindhu VL
 
React js t6 -lifecycle
React js   t6 -lifecycleReact js   t6 -lifecycle
React js t6 -lifecycleJainul Musani
 
Mule testing
Mule   testingMule   testing
Mule testingSindhu VL
 
«ReactiveCocoa и MVVM» — Николай Касьянов, SoftWear
«ReactiveCocoa и MVVM» — Николай Касьянов, SoftWear«ReactiveCocoa и MVVM» — Николай Касьянов, SoftWear
«ReactiveCocoa и MVVM» — Николай Касьянов, SoftWeare-Legion
 
Mocking with salesforce using Munit
Mocking with salesforce using MunitMocking with salesforce using Munit
Mocking with salesforce using MunitSon Nguyen
 
React js use contexts and useContext hook
React js use contexts and useContext hookReact js use contexts and useContext hook
React js use contexts and useContext hookPiyush Jamwal
 
React js t1 - introduction
React js   t1 - introductionReact js   t1 - introduction
React js t1 - introductionJainul Musani
 
Composite source in bound and out-bound
Composite source in bound and out-boundComposite source in bound and out-bound
Composite source in bound and out-boundSon Nguyen
 
Deploying and Running in Mule
Deploying and Running in MuleDeploying and Running in Mule
Deploying and Running in MuleKhasim Saheb
 
Встреча №9. Будущее паттерна MVVM в iOS приложениях, Денис Лебедев
Встреча №9. Будущее паттерна MVVM в iOS приложениях, Денис ЛебедевВстреча №9. Будущее паттерна MVVM в iOS приложениях, Денис Лебедев
Встреча №9. Будущее паттерна MVVM в iOS приложениях, Денис ЛебедевCocoaHeads
 

What's hot (20)

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

Similar to Crossant Run Modes

Mastering Distributed Performance Testing
Mastering Distributed Performance TestingMastering Distributed Performance Testing
Mastering Distributed Performance TestingKnoldus Inc.
 
Jmeter_Presentaion_Parag
Jmeter_Presentaion_ParagJmeter_Presentaion_Parag
Jmeter_Presentaion_ParagPARAG KHEDIKAR
 
Performance Testing - Apache Benchmark, JMeter
Performance Testing  - Apache Benchmark, JMeterPerformance Testing  - Apache Benchmark, JMeter
Performance Testing - Apache Benchmark, JMeterAntoni Orfin
 
Javascript Unittesting with js-test-driver
Javascript Unittesting with js-test-driverJavascript Unittesting with js-test-driver
Javascript Unittesting with js-test-driverwesthoff
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runnertelab
 
[FullStack NYC 2019] Effective Unit Tests for JavaScript
[FullStack NYC 2019] Effective Unit Tests for JavaScript[FullStack NYC 2019] Effective Unit Tests for JavaScript
[FullStack NYC 2019] Effective Unit Tests for JavaScriptHazem Saleh
 
advanced_load_runner.ppt
advanced_load_runner.pptadvanced_load_runner.ppt
advanced_load_runner.pptSunilKumar61580
 
JLove - Replicating production on your laptop using the magic of containers
JLove - Replicating production on your laptop using the magic of containersJLove - Replicating production on your laptop using the magic of containers
JLove - Replicating production on your laptop using the magic of containersGrace Jansen
 
Using Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionUsing Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionRuslan Strazhnyk
 
Dive into Angular, part 5: Experience
Dive into Angular, part 5: ExperienceDive into Angular, part 5: Experience
Dive into Angular, part 5: ExperienceOleksii Prohonnyi
 
WSO2 Test Automation Framework : Approach and Adoption
WSO2 Test Automation Framework : Approach and AdoptionWSO2 Test Automation Framework : Approach and Adoption
WSO2 Test Automation Framework : Approach and AdoptionWSO2
 
JavaScript, VBScript, AJAX, CGI
JavaScript, VBScript, AJAX, CGIJavaScript, VBScript, AJAX, CGI
JavaScript, VBScript, AJAX, CGIAashish Jain
 
(DVO313) Building Next-Generation Applications with Amazon ECS
(DVO313) Building Next-Generation Applications with Amazon ECS(DVO313) Building Next-Generation Applications with Amazon ECS
(DVO313) Building Next-Generation Applications with Amazon ECSAmazon Web Services
 
Best Jmeter Interview Questions- Prepared by Working Professionals
Best Jmeter Interview Questions- Prepared by Working ProfessionalsBest Jmeter Interview Questions- Prepared by Working Professionals
Best Jmeter Interview Questions- Prepared by Working ProfessionalsTesting World
 
Automation testing by Durgasoft in Hyderabad
Automation testing by Durgasoft in HyderabadAutomation testing by Durgasoft in Hyderabad
Automation testing by Durgasoft in HyderabadDurga Prasad
 
Automation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabadAutomation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabadDurga Prasad
 
Performance testing with loadrunner by kc
Performance testing with loadrunner by kcPerformance testing with loadrunner by kc
Performance testing with loadrunner by kckrishna chaitanya
 

Similar to Crossant Run Modes (20)

QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
 
Wso2 test automation framework internal training
Wso2 test automation framework internal trainingWso2 test automation framework internal training
Wso2 test automation framework internal training
 
Mastering Distributed Performance Testing
Mastering Distributed Performance TestingMastering Distributed Performance Testing
Mastering Distributed Performance Testing
 
Performance testing meets the cloud - Artem Shendrikov
Performance testing meets the cloud -  Artem ShendrikovPerformance testing meets the cloud -  Artem Shendrikov
Performance testing meets the cloud - Artem Shendrikov
 
Jmeter_Presentaion_Parag
Jmeter_Presentaion_ParagJmeter_Presentaion_Parag
Jmeter_Presentaion_Parag
 
Performance Testing - Apache Benchmark, JMeter
Performance Testing  - Apache Benchmark, JMeterPerformance Testing  - Apache Benchmark, JMeter
Performance Testing - Apache Benchmark, JMeter
 
Javascript Unittesting with js-test-driver
Javascript Unittesting with js-test-driverJavascript Unittesting with js-test-driver
Javascript Unittesting with js-test-driver
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runner
 
[FullStack NYC 2019] Effective Unit Tests for JavaScript
[FullStack NYC 2019] Effective Unit Tests for JavaScript[FullStack NYC 2019] Effective Unit Tests for JavaScript
[FullStack NYC 2019] Effective Unit Tests for JavaScript
 
advanced_load_runner.ppt
advanced_load_runner.pptadvanced_load_runner.ppt
advanced_load_runner.ppt
 
JLove - Replicating production on your laptop using the magic of containers
JLove - Replicating production on your laptop using the magic of containersJLove - Replicating production on your laptop using the magic of containers
JLove - Replicating production on your laptop using the magic of containers
 
Using Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionUsing Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solution
 
Dive into Angular, part 5: Experience
Dive into Angular, part 5: ExperienceDive into Angular, part 5: Experience
Dive into Angular, part 5: Experience
 
WSO2 Test Automation Framework : Approach and Adoption
WSO2 Test Automation Framework : Approach and AdoptionWSO2 Test Automation Framework : Approach and Adoption
WSO2 Test Automation Framework : Approach and Adoption
 
JavaScript, VBScript, AJAX, CGI
JavaScript, VBScript, AJAX, CGIJavaScript, VBScript, AJAX, CGI
JavaScript, VBScript, AJAX, CGI
 
(DVO313) Building Next-Generation Applications with Amazon ECS
(DVO313) Building Next-Generation Applications with Amazon ECS(DVO313) Building Next-Generation Applications with Amazon ECS
(DVO313) Building Next-Generation Applications with Amazon ECS
 
Best Jmeter Interview Questions- Prepared by Working Professionals
Best Jmeter Interview Questions- Prepared by Working ProfessionalsBest Jmeter Interview Questions- Prepared by Working Professionals
Best Jmeter Interview Questions- Prepared by Working Professionals
 
Automation testing by Durgasoft in Hyderabad
Automation testing by Durgasoft in HyderabadAutomation testing by Durgasoft in Hyderabad
Automation testing by Durgasoft in Hyderabad
 
Automation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabadAutomation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabad
 
Performance testing with loadrunner by kc
Performance testing with loadrunner by kcPerformance testing with loadrunner by kc
Performance testing with loadrunner by kc
 

Recently uploaded

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Recently uploaded (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 

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]