Support #9580
migrate/merge REST and SOAP and WEB tests into Testcases project
0%
History
#1 Updated by Greg Shah over 1 year ago
Constantin has a set of tests for REST, SOAP and WEB (as noted in #8661-538):
I've uploaded to
devsrv01:/tmp/web_apis_20250124.zipa project configured for REST, Soap and WEB. This can be used to test how the requests are ran in FWD PASOE.The project has
fwd-rest-project.xmlandfwd-soap-project.xml, which need to be loaded into SoapUI.
In this task, we will:
- Merge the project content (configuration, data and test code...) into the Testcases.
- Migrate the SoapUI tests to Harness tests.
- Encode the web tests as Harness tests.
Whoever does this work should determine the degree to which these test sets cover the requirements from REST Tests, SOAP Tests and WebSpeed/WebHandler Tests. These wiki pages should be updated with the details of the tests including how to run them.
#3 Updated by Greg Shah over 1 year ago
I copied web_apis_20250124.zip to xfer at /opt/gcd/.
#4 Updated by Marian Edu over 1 year ago
Greg Shah wrote:
I copied
web_apis_20250124.zipto xfer at/opt/gcd/.
Not sure if those SoapUI tests are just updates/extension of the one existent in testcases project already or Constantin created completely different ones. The SoapUI projects in testcases are:
- appsrv/rest/test/fwd-soapui-project.xml for REST
- appsrv/soap/test/web/fwd-soapui-project.xml for SOAP
For SOAP (web services) and direct AppSrv calld (RPC) we have tests in 4GL that were also migrated to ABLUnit - tests/appsrv folder, 4gl_rpc for direct RPC call, 4gl_ws for consuming web services from 4GL.
Normally REST tests can also be written directly in 4GL - ABLUnit style - using either direct socket interface of the OO abstraction layer - it's debatable if those will be tests for REST services or the OO implementation though but it can still be done :)