Need to test my own webservice webdav client on a nextcloud server

Hi, I don’t know if there was a better category to fit the argument that we are dealing with.

I need to test my own javaclient app (webservice) to connect on a webdav server using nextcloud. The use is the following step-by-step:

I have to connect on the nextcloud server using authentication;
use methods to copy the files from the webdav server doing his owns checks;
close connection;

it’s really simple but first I have to test the application on a nextcloud server test, before using it on the real nextcloud server account. I saw that it’s possible to install something similar to a nextcloud server on my computer (windows) but I don’t know if there is something that I have to know before install it. Actually stucked