DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Curious about the future of data-driven systems? Join our Data Engineering roundtable and learn how to build scalable data platforms.

Data Engineering: The industry has come a long way from organizing unstructured data to adopting today's modern data pipelines. See how.

Threat Detection: Learn core practices for managing security risks and vulnerabilities in your organization — don't regret those threats!

Managing API integrations: Assess your use case and needs — plus learn patterns for the design, build, and maintenance of your integrations.

Avatar

Nirmal Chandra

Developer - BigData/Kafka/Java/MuleSoft/Python at Private Banking, Govt

London, GB

Joined May 2016

https://authorjapps.github.io/zerocode/

Stats

Reputation: 285
Pageviews: 303.6K
Articles: 3
Comments: 12
  • Articles
  • Comments

Articles

article thumbnail
A Quick and Practical Example of Kafka Testing
In this tutorial, we learn some of the fundamental aspects of Kafka testing in a declarative way and how to test microservices involving both Kafka and REST.
Updated October 20, 2020
· 209,136 Views · 19 Likes
article thumbnail
Easy and Accurate Performance Testing With JUnit/Maven
Learn how you can utilize JUnit and Maven for performance and load testing in a variety of scenarios, like reusing test code and testing in parallel.
Updated August 20, 2019
· 62,362 Views · 11 Likes
article thumbnail
What You Need to Know to Test Kafka
Kafka and distributed streams can come in handy when working with microservices. Read on for an introduction to testing Kafka and make sure you're on the right track.
February 14, 2019
· 32,076 Views · 7 Likes

Comments

A Quick and Practical Example of Kafka Testing

May 14, 2020 · Nirmal Chandra

Hi Sneha, apologies for late reply. This was was not accpeting any reply and comments I tried to put earlier. Where exactly you are facing this issue? Did you clone the example repo and run the tests? Did you start the Kafka cluster "docker-compose up" before you ran the test? If you are still facing this, please ping us in the Slack... we will be happy to sort this out soon.

Easy and Accurate Performance Testing With JUnit/Maven

May 14, 2020 · Dinesh Verma

Sorry mate, just seeing this question now and apologies for the late reply.

Number of threads or virtual users whether it is 1000 or 5000 really depends on your laptop or the machine you use and how much resources (e.g. CPU cores and RAM etc) are left free to drive your load tests to run.

e.g. if you have a 16gb with dual-core(2) processor machine and no other high-end processes are running, say your API payload size is 1KB size in average + say you have left 12gb of RAM for your load testing, then you can spin up more threads/virtual-users that 1 core with 2 GB of RAM.

But the same may vary if your API payload size it more or less with any other high processing software is running or not running.

My suggestion would be to try from 90 to 100 threads per secs and keep gradually increasing and see how many v-users it can support and how much further resources you need!

If you need far larger load e.g. 10000 virtual users within few seconds rampup duration, you can fire such load from the similar setup in Cloud e.g. AWS or GCP or Azure where you have very large scaling options. Zerocode runners are very very flexible for that purpose.

How to Convert Maven to Gradle and Vice Versa

Apr 11, 2019 · A N M Bazlur Rahman

Cool stuff! Works as expected.

What You Need to Know to Test Kafka

Feb 15, 2019 · Nirmal Chandra

Hello Kevin, Thanks for the comment. The link works now(just tested). Can you please confirm, you are able to navigate?

Gson: Deserialization of Generic Types

Jan 02, 2019 · Anton Berezin

Good piece of information.

A typo(ParametrizedType) needs to be corrected for everyone's benifit :

Correct one is below.


ParameterizedType


Full qualified class name : java.lang.reflect.ParameterizedType

SonarCloud Integration With Spring Boot-Maven

Nov 07, 2018 · NEERAJ SIDHAYE

Good information, short n precise steps !

Kafka Producer and Consumer Examples Using Java

Oct 26, 2018 · Gaurav Garg

Thanks for the reply. That's what I thought and that's how I did(still has issues :-( ). I am using the latest version of the kafka-client. Will it matter if I connect to earlier(very old) version of the Kafka server/brokers? Also I used old version of Kafka client and was able to connect these old kafka servers(but via Zoo keeper details).

Kafka Producer and Consumer Examples Using Java

Oct 25, 2018 · Gaurav Garg

Hello mate, in the java client config nowhere `zookeeper` was needed. But for the command line it was needed `--zookeeper ...`. So how did Java client connect to the kafka cluster without it? Or am I missing something? If at all I have to provide the `zookeeper` details how to provide for Java client? Thanks in advance.

MuleSoft API Testing With Zerocode Test Framework

Apr 10, 2018 · Amit Ghorpade

thanks for publishing the nice article. It's very clean approach for testing end-points. No more overheads of maintaining POJOs, their builders, serialization/deserialization, boilerplate glue codes and imagining how my test would look like.


Test automation of REST APIs Using ZeroCode Open Source JSON-Based Test Framework

Feb 18, 2018 · Sidd Galaxy

Hi,

SOAP calls has been answered here.

DB ResultSet assertion e.g. Here

i.e. basically write a simple Java public method and call it like this.

Hope this helps.

Regards,

N C (Contributor)

Mule: Load Properties as per the Environment (With Default Properties File)

Feb 18, 2018 · Amit Ghorpade

Good approach! Now we have done this for our Mule application (for a Bank). It's convinient and saves time switching environments. `mvn -Dmule.env=` helps now.

REST With Java 8

Nov 23, 2016 · Unni Mana

Good one, how to capture n process the path n query params

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: