-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1939228
commit b5326c0
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# TestSystem | ||
Приложение реализует простейший REST и SOAP сервис для обучения | ||
|
||
По адресу | ||
http://localhost:8080/TestSystem/RestTestSystem | ||
принимает GET и PUT запросы | ||
PUT добавляет объект вида | ||
{"account":"1234567890123456","balance":100,"firstname":"Иванов","phone":"+71234567890","secondname":"Иванович","surname":"Иван"} | ||
GET отдает такой же объект, если он был предварительно добавлен, иначе выдает 404 | ||
|
||
По адресу | ||
http://localhost:8080/TestSystem/TestWebService | ||
доступен SOAP web-сервис | ||
wsdl http://localhost:8080/TestSystem/TestWebService?wsdl | ||
Работает с тем же массивом объектов. | ||
т.е. можно добавить объект через REST прочитать через SOAP и наоборот. | ||
Подходит так же для обучения тестированию производительности. Выдерживает приличную нагрузку ~1000 rps | ||
|
||
Можно запустить на любом JavaEE (Jakarta) совсестимом веб-сервере, например, GlassFish или Wildfly | ||
|
||
Так же приложен Dockerfile для запуска в докере |