Document your code
Every project on GitHub comes with a version-controlled wiki to give your documentation the high level of care it deserves. It’s easy to create well-maintained, Markdown or rich text documentation alongside your code.
Sign up for free See pricing for teams and enterprisesProduce JSON message
authorjapps edited this page Feb 5, 2019
·
2 revisions
Only difference here to RAW is the recordType
value is JSON.
"recordType" : "JSON"
and we pass the JSON records in the records
block.
Visit the Zerocode README Page for all things.
Pages 66
- Home
- About Motivation
- After you have written all the tests, what's next
- application x www form urlencoded urlencoded with KeyValue params
- Array assertions made easy e.g. SIZE, element finder
- Automation tests for Zerocode lib itself
- Bringing Up Kafka Single Node or Muti Node Docker Containers
- Charset UTF 8 or UTF 16 or UTF 32 etc in the http response
- Consume JSON message
- Consume RAW message
- External JSON file as reusable content
- Getting Started
- Gradle build for JUnit Smart Chart and CSV Reports
- Guidelines for raising issues
- How to make Performance Testing part of CI build
- How to pass custom security token into the request header which is new for every request?
- HTTP max timeout or implicit wait
- JUnit5 Jupiter Parallel Load Extension
- Kafka Testing Introduction
- Kotlin Performance testing
- Load or Performance Testing (IDE based)
- Mocking end points via WireMock(Simple and flexible)
- Multiple user with each different load for performance testing
- New Wiki Home (WIP)
- Parameterized Testing From CSV rows
- Parameterized Testing From List of Values
- Placeholders Usage and Limits
- Powered by open source software
- Produce JSON message
- Produce raw message
- QnA: How to Unit integration testing of Rest Api written with Spring?
- QnA: Does it support https connections?
- QnA: How to assert an array in the response with SIZE Greater Than or Lesser Than etc?
- QnA: How to assert custom headers of the response?
- QnA: How to invoke POST apis ?
- QnA: How to pass headers e.g. auth info, auth headers etc in the headers into the RESTful APIs ?
- QnA: How to test your APIs easily via simple JSON steps ?
- QnA: Is there anyway to generate UUID or an RANDOM ID if a test needs?
- QnA: Only REST or Is it possible to test SOAP api call too ? if so how?
- Question Answer Section
- Read Our Blogs
- readme draft
- Sample DB SQL Executor
- SOAP method invocation through Corporate Proxy
- SOAP method validation with xml input
- Strict Mode Payload Comparison
- Suite Runner Vs Package runner
- Switching Environment to CI DIT SIT UAT for Test Suite or Regression Pack
- Testing Kotlin Application using Zerocode
- Token: LocalDate Today
- Token: LocalDateTime Now
- Token: Random Number
- Token: Random String
- Token: Random UUID
- Token: Record Dump
- Token: Static Alphabet
- Token: System Environment
- Token: System Property
- Token: XML File
- User journey: Create, Update and GET Employee Details
- What is Zerocode Testing
- When JSON Path Matching returns value or values as an array
- YAML DSL For Test Scenarios
- Zerocode archetype to auto generate a maven testing project
- Zerocode Collaborators
- Zerocode Hello World Projects
-
User's Guide
-
Matchers
-
Zerocode Tokens
-
YAML DSL
-
Http Testing
-
Kafka Testing
- Introduction
- Produce raw message
- Consume raw message
- Produce JSON message
- Consume JSON message
- Produce avro message
- Consume avro message
- KSQL in action
- Produce multiple records
- Produce from file
- Produce to a partition
- Produce n assert partition ack
- Comsume and dump to file
- commitSync vs commitAsync
- Overriding config inside a test
- Chosing String or Int or Avro Serializer
- Chosing String or Int or Avro Deserializer
- Attaching timestamp during load
- Default timestamp provided by Kafka
- Consume and assert avro schema metadata
- Error handling - produce via avro schema
-
DB Testing
-
Kotlin Testing
-
Performance Testing - Load and Stress
- Performance Testing - via awesome JUnit runners
- Load Vs Stress generation on target application
- Run a single test or a scenario in parallel
- Run multiple test scenarios in parallel - Production load simulation
- Dynamically change the payload for every request
- Analytics - Useful report(s) or statistics
-
Parameterized Testing
-
Docker
-
Extensions
-
JUnit5 Jupiter Test
-
Questions And Answers(FAQ)
- What is Zerocode testing?
- SSL http https connections supported?
- How to assert array size Greater-Than Lesser-Than etc?
- How to invoke POST api?
- How to assert custom headers of the response?
- How to pass custom security token into the request header?
- When to use JUnit Suite runner and when Zerocode Package runner?
- How to execute DB SQL and assert?
- How to handle Http response other than utf-8 e.g. utf-16 or utf-32 ?
- Random Number Generator Placeholders Usages and Limits
- Automation tests for Zerocode lib itself
- Picking a leaf value from the array matching JSON Path
- Array assertions made easy, incl. size and element finder
Blogs
-
Read Our Blogs
- Top 16 Open Source API Testing Tools For REST & SOAP Services - joecolantonio (Lists popular tools - Globally)
- OAuth2 Test Automation - DZone 2min Read
- Zero defect APIs - Build Pipe Line - Medium 10 min Read
- Develop ZeroDefect API's with ZeroCode! - Extreme Portal ( A must read for all developers and test engineers) 10min Read
- Performance testing using JUnit and maven - Codeproject 10 min Read
- REST API or SOAP End Point Testing - Codeproject 10min Read
- DZone- MuleSoft API Testing With Zerocode Test Framework - DZone 5min Read
- Testing need not be harder or slower, it should be easier and faster - DZone 5 min Read
- Kotlin Integration Testing simplified via Zerocode - Extreme portal 10 min Read
- and More...