jcstress and events for before and after

bren at juanantonio.info bren at juanantonio.info
Tue Apr 19 15:57:55 UTC 2022


Hi,

I am reviewing the tool jcstress and I would like to know if exist 
something similar like:

@BeforeEach
public void setup() { }

@AfterEach
public void teardown() { }

In jcstress or if exist some alternative.

Why?

In a particular Java class which it interacts with a HTTP endpoint, I 
would like to test the concurrency but connecting with Wiremock in a 
test. Reviewing the samples:
https://github.com/openjdk/jcstress/tree/master/jcstress-samples

I didn't see a similar example.

What do you think?

Many thanks in advance

Juan Antonio


More information about the jcstress-dev mailing list