Any guidelines to write JUnit for path based sling servlets with POST method?
hello expert,
Could you please share any sample or guide which outlines how to write JUnit test case for following:
- a path based sling servlet
- which takes 2 input parameter an xml file and an xdp template
- using OutputService one can generate the PDF
- JUnit config and how to write the test case?
thanks.
