Commit Graph

169 Commits

Author SHA1 Message Date
Stephane Landelle eea42f2289 Reset Gatling user state on each iteration 2020-10-09 21:05:09 +02:00
Loredana f3aee7ea03 remove log, formatting 2020-10-09 15:50:27 +03:00
Loredana 68f35280c3 remove lombok, update scripts threads 2020-10-09 15:48:30 +03:00
Loredana Crusoveanu e663f89592 Merge pull request #9980 from slandelle/master
Fix Gatling test used for https://www.baeldung.com/gatling-jmeter-grinder-comparison
2020-10-08 16:38:30 +03:00
kwoyke be48134840 BAEL-4659: Upgrade Cucumber to 6.8.0 (#10115) 2020-10-02 19:28:05 +02:00
johnA1331 e9059bbb72 Update README.md 2020-10-02 13:29:42 +08:00
johnA1331 c1c380094c Update README.md 2020-10-02 13:26:20 +08:00
Loredana Crusoveanu 11818a04a3 Merge pull request #10029 from Maiklins/Java-2136-update-jackson-version-in-main-pom
Java-2136 update jackson version in main pom
2020-09-30 10:53:54 +03:00
Loredana Crusoveanu 35a9131a72 Merge pull request #10083 from johnA1331/master
BAEL-27981 - add links to github-baeldung articles
2020-09-25 16:08:31 +03:00
bfontana 71623e7880 Merge pull request #10074 from eugenp/bfontana/BAEL-4337
BAEL-4337 - Conditionally ignoring or running tests in JUnit 4
2020-09-23 21:20:30 -03:00
johnA1331 2ba94bd154 Create README.md 2020-09-24 03:34:17 +08:00
Bruno Fontana 9a8f92de76 Fixing formatting issues. 2020-09-22 20:54:25 -03:00
Bruno Fontana 9f51e1c6e5 Assume Class examples redone. 2020-09-22 18:21:24 -03:00
Krzysiek d51a8319c6 JAVA-2977: Get rid of the unused spring*boot* properties 2020-09-21 21:15:03 +02:00
Loredana 4a7cde7d32 Merge branch 'master' of https://github.com/eugenp/tutorials 2020-09-18 12:04:36 +03:00
Jonathan Cook f6adcd0cb3 BAEL-4437 - System Rules (#10047)
Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2020-09-17 14:22:49 -07:00
johnA1331 5ae7a913cf Update README.md 2020-09-16 23:48:50 +08:00
johnA1331 f9cd2c3807 Update README.md 2020-09-16 23:01:10 +08:00
johnA1331 1d9cf597d8 Update README.md 2020-09-16 22:57:59 +08:00
mikr 6927cc7237 Java-2136 Use Jackson version from main pom in all other applicable modules 2020-09-14 13:11:59 +02:00
kwoyke c3cd93fcdb JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985)
* JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE

* JAVA-2563: Downgrade spring-cloud-connectors-heroku to Spring Boot 2.2.6.RELEASE

* JAVA-2563: Add joda-time version

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Use MongoClients factory instead of MongoClient directly

* JAVA-2563: Downgrade spring-5-data-reactive to Spring Boot 2.2.6.RELEASE

* JAVA-2563: Switch back to default bootstrap mode for JPA

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Switch from ServerHttpRequest to ServerWebExchange interface

* JAVA-2563: Use OutputCaptureRule instead of OutputCapture

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Fix Jackson dependency

* JAVA-2563: Fix ManualEmbeddedMongoDbIntegrationTest

* JAVA-2563: Replace validation-api with spring-boot-starter-validation

* JAVA-2563: Fix usage of deprecated getErrorAttributes method

* JAVA-2563: Downgrade spring-data-cassandra-reactive to Spring Boot 2.2.6.RELEASE

* JAVA-2563: Set spring.datasource.generate-unique-name to false in spring-session-jdbc
2020-09-11 18:19:02 +05:30
bfontana ed8b77a375 Merge pull request #9948 from meysam/master
BAEL-4336 @BeforeAll and @AfterAll Methods as a non-static
2020-09-10 20:06:11 -03:00
Meysam Tamkin d994a5bdbf Fix it some changes 2020-09-07 13:35:07 +04:30
fanatixan 74efd2530e added code snippets for bael-4554 (#9979) 2020-09-06 19:13:25 -07:00
Stephane Landelle 7c41e37829 Remove the unfair 1 second pauses between requests
Those pauses don't exist in the JMeter test. They just artificially reduce the Gatling test's throughput.
2020-09-06 23:37:51 +02:00
Stephane Landelle a3626ba16c Add missing optional option on the check that captures the reward
This shouldn't be an error, it's an expected situation as described in the article.
2020-09-06 23:34:37 +02:00
Stephane Landelle b2643fc0dd Use ThreadLocalRandom instead of Random which is synchronized 2020-09-06 23:33:17 +02:00
Stephane Landelle bbdce526c7 Fix random cust id generation to reduce collisions
The current range causes lots of collisions and the application doesn't handle them gracefully, causing lots of exceptions to get logged and hamerring performance.

Use 100,000 like the JMeter test, see https://github.com/slandelle/tutorials/blob/master/testing-modules/load-testing-comparison/src/main/resources/scripts/JMeter/Test%20Plan.jmx#L203
2020-09-06 23:32:19 +02:00
Stephane Landelle eed6c93543 Fix dynamic parameter
Wrong Gatling usage: randCustId() was only called once. One needs to pass a function.
2020-09-06 23:29:31 +02:00
Meysam Tamkin 3146226399 Fix it some changes 2020-09-03 10:16:45 +04:30
Mona Mohamadinia 25b1749308 BAEL-4530: A Guide to @DynamicPropertySource in Spring (#9877)
* A Guide to @DynamicPropertySource in Spring

* Moving to a new module

* Reverting the Changes in the original module
2020-08-31 16:43:13 +01:00
Jonathan Cook 50563c7f63 Merge pull request #9854 from vishal1023/master
AssertEquals 2 Lists ignore order
2020-08-30 21:48:51 +02:00
Meysam Tamkin d8d2ecc4b4 Add some changes 2020-08-30 19:59:24 +04:30
Vishal aa223e69ea Add tests for AssertJ example and update assertj-core dependency version. 2020-08-23 10:35:43 +05:30
johnA1331 308bd8998b Update README.md 2020-08-20 13:07:18 +08:00
Vishal 3cbfd383ed Refactor | Add common formatting, remove comments, update test class name,follow test method naming convention and use Junit5 2020-08-17 18:06:30 +05:30
Loredana Crusoveanu db4c926b1a Merge pull request #9773 from eugenp/BAEL-16668-v2
Bael 16668 v2
2020-08-13 17:13:32 +03:00
Jonathan Cook bc2352684a BAEL-4341 - Add AfterEach annotation instead of BeforeEach on tearDown
method
2020-08-13 09:12:53 +02:00
Vishal 6a2fcd54c3 Add unit test to assert two list equality without considering order of elements in it. 2020-08-12 09:57:39 +05:30
kwoyke 6889e238ff BAEL-3415: Get rid of the MockitoAnnotations.initMocks (#9787) 2020-07-30 07:50:21 +02:00
davidmartinezbarua 7e22f6a1bb Merge pull request #9729 from developerDiv/argumentcaptor
BAEL-4261 - ArgumentMatcher with Stubbing
2020-07-29 23:56:33 -03:00
Loredana 2dbb667128 article was moved to mockito-2; remove duplicate methods from mockito module 2020-07-27 12:01:55 +03:00
developerDiv 55d15037c0 Rename DeliveryPlatform send method to 'deliver' to aid readability and avoiding confusion with EmailService.send method
Re-arrange order of mocks and inject mocks

Rename argument matcher and captor tests
2020-07-26 17:08:44 +01:00
johnA1331 cb9e7920a0 Update README.md 2020-07-23 22:11:49 +08:00
johnA1331 2bc4c93e7b Update README.md 2020-07-23 21:06:51 +08:00
developerDiv ab755bf098 Add static class to 'eq' and 'when' for greater readability. 2020-07-21 21:32:40 +01:00
developerDiv 8309e56268 Rename tests 2020-07-19 15:44:48 +01:00
developerDiv 2a88d24386 Initial commit of ArgumentCaptor 2020-07-19 09:35:35 +01:00
bfontana 2d8bc57689 Merge pull request #9648 from dpgarrett/danielg/conditionally-ignoring-tests-in-junit
BAEL-4337 Conditionalling ignoring tests in JUnit 4
2020-07-16 21:09:58 -03:00
Jonathan Cook a8dac80752 BAEL-4341 - JUnit test for System.out.println() (#9694)
* BAEL-4198 - Fix Selenium Live Tests

* BAEL-4198

* BAEL-4024 - Taking Screenshots with Selenium WebDriver

* BAEL-4341 - JUnit test for System.out.println()

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2020-07-13 18:46:32 -07:00