Skip to content

Commit

Permalink
#384 Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jemacineiras committed Oct 25, 2023
1 parent e78d570 commit 1b58369
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/_Sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- [Consumer configuration](consumer-configuration.md)
- [Schemas](schemas.md)
- [Schema Registry](schema-registry.md)
- [Asyncapi support](asyncapi.md)

# Knowledge center
- [How to run a test plan](how-to-run.md)
Expand Down
22 changes: 22 additions & 0 deletions docs/asyncapi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Asyncapi Support

Here you can find the way to use your asyncapi.yml definition to produce a performance load test.
The only requirement is to use the AsyncApi Sampler component. There you can load the asyncapi file into the plugin.

![AsyncApi Component](images/AsyncapiComponent.png)

Once the file is loaded, information will appear in the elements below.
First tab you can see the broker configuration where you can choose to which broker you want to connect to.

![Broker Selection](images/AsyncApiComponent-ComboBroker.png)

Once the broker has been choose the data will be loaded. By default the first server configuration will be selected

![Developemnt Broker](images/AsyncApiComponent-FileLoaded.png)

In order to choose which payload you want to use for the test just move to the second tab and use the combo to select which topic you want to use.
As for in AsyncApi specification channel/topic contains the payload will be transmitted.

![Payload configuration](images/AsyncApiComponent-SchemaLoaded.png)

Data generation use the same engine than the rest of the samplers so information from [schemas page](schemas.md) applu
Binary file added docs/images/AsyncApiComponent-ComboBroker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/AsyncApiComponent-FileLoaded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/AsyncApiComponent-SchemaLoaded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/AsyncapiComponent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1b58369

Please sign in to comment.