Hello, nice to greet you.
I tell you, to obtain test events, you could review the alert log file, and take the one that is most convenient for your tests.
To see the file, you can go to:
/var/ossec/logs/alerts/alerts.json or
/var/ossec/logs/alerts/alerts.log to see the events in plain text.
On the other hand, you can effectively use logtest to simulate events and simulate the execution of decoders and rules. You can see how logtest works
here.
On the other hand, it could be useful to use the localfile function, in the ossec.conf configuration. This allows you to feed events to the Wazuh server via a text file. You can get the info about it
here.
Let me know if the information I provided helped you.
Greetings
Nicolas