Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Test a WebService with parameters come from a LocalService
Hi,
I have to create a test unit to a webservice which most parameters come from a database table (LocalService) and Configuration dictionary. Is possible to do this?.
I tried it using testIntegration with Arquillian (from this post) but the data I got are real and fake generated values mixed both of them. May this be configured somewhere?
The way I am doing this test unit using parameters from LocalService is natural or do I have to use constants values?. I try to avoid having the same data in two places.
Thanks you all,
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™