TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems
-
Upload
iosif-itkin -
Category
Science
-
view
2.220 -
download
0
Transcript of TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems
![Page 1: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/1.jpg)
Инструмент для автоматизированногоИнструмент для автоматизированного тестирования систем проведениятестирования систем проведениярасчетов ирасчетов и клиринга ClearTHклиринга ClearTH
Анна Торопова, Екатерина Димова, Иосиф ИткинАнна Торопова, Екатерина Димова, Иосиф Иткин12 ноября 201512 ноября 2015
Quality Assurance & Related Software Development for Innovative Trading SystemsTel: +7 495 640 2460, +1 415 830 38 49www.exactpro.com
![Page 2: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/2.jpg)
2
ЧАСТЬ I - Системы проведения расчетов и клиринга
Роль в финансовой инфраструктуреОсобенности
ЧАСТЬ II - Подходы и задачи тестирования
Задачи, возникающие при тестировании сложных системСуществующие подходы к тестированиюСoncurrent test execution and scheduling
ЧАСТЬ III - Инструменты тестирования
Существующие инструменты тестированияClearTH - инструмент для тестировая расчетно-клиринговых систем
Содержание
Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 3: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/3.jpg)
Схема расчетно-клиринговой системы
3 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 4: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/4.jpg)
4 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Схема расчетно-клиринговой системы
![Page 5: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/5.jpg)
5 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Схема расчетно-клиринговой системы
![Page 6: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/6.jpg)
6 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Схема расчетно-клиринговой системы
![Page 7: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/7.jpg)
7 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Схема расчетно-клиринговой системы
![Page 8: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/8.jpg)
8 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Схема расчетно-клиринговой системы
![Page 9: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/9.jpg)
9 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Схема расчетно-клиринговой системы
![Page 10: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/10.jpg)
10 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Схема расчетно-клиринговой системы
![Page 11: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/11.jpg)
11 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Схема расчетно-клиринговой системы
![Page 12: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/12.jpg)
Жизненный цикл системы расчета и клиринга
12 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 13: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/13.jpg)
13
• Сложный алгоритм подсчета проектных рисков;• Необходимость тестировать сложные, многоступенчатые и многодневные
сценарии;• Необходимость обеспечить быстрое исполнение регрессивных тестов;• Тестирование различных способов взаимодействия с системой: API, обмен
файлами, графический интерфейс (GUI);• Симуляция поведения внешних систем;• Настройка справочных данных и их миграция из других систем.
Задачи, возникающие притестировании сложных систем
Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 14: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/14.jpg)
14
Подходы к тестированию:
Автоматическое (automation) и ручное (manual) тестирование;• Функциональное (functional) тестирование и тестирование
нагрузки/производительности (load/performance testing);• Компонентное (unit), интеграционное (integration) тестирование и
тестирование полного жизненного цикла системы (end-to-end testing).
Подходы к организации инструментов тестирования:
• Data-driven testing и Keyword-driven testing; • Параллельный и последовательный запуск тестов.
Существующие подходы к тестированию
Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 15: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/15.jpg)
Бизнес-сценарии, характерныедля систем расчета и клиринга
15 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 16: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/16.jpg)
Concurrent test execution and scheduling
16 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 17: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/17.jpg)
Concurrent test execution and scheduling
• Scheduler• Matrix• Scheduler config
17 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 18: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/18.jpg)
18 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Concurrent test execution and scheduling
• Scheduler• Matrix• Scheduler config
![Page 19: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/19.jpg)
19 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Concurrent testexecution and
scheduling
Запуск тестов порасписанию
Одновременноевыполнение тестов в
одном тестовом окружении
Привязка ксистемномурасписанию
Concurrent test execution and scheduling
![Page 20: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/20.jpg)
Статистика поисковых запросовпо коммерческим инструментам тестирования
20 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 21: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/21.jpg)
Статистика поисковых запросов для инструментовтестирования с открытым исходным кодом
21 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 22: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/22.jpg)
Сравниваемые инструменты тестирования
• Selenium• HP Quick Test Professional (HP QTP)• Telerik TestStudio• TestComplete• Ranorex
22 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 23: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/23.jpg)
Инструмент для тестированиярасчетно-клиринговых систем ClearTH
![Page 24: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/24.jpg)
Основные характеристики ClearTH
24 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Характеристика Описание
Тип тестирования Active Batch
Целевые системы Расчетно-клиринговые платформы и Middle Office
Интерфейстестируемой системы
Back-end (обычно подключается к шлюзу сообщений/APIs, и DBs); Тестирование графическогоинтерфейса возможно через плагины или подключение в другим тестовым инструментам
Методывзаимодействия
с системой
Прогон нескольких процессов по расписанию (зачастую захватывающий несколько бизнес-дней). Внутренний планировщик синхронизирован с планировщиков тестируемой системы. Запросы в DB дляпроверки данных
Протоколы Содержит плагины для популярных протоколов (FIX и диалекты, FAST, SWIFT, ITCH, HTTP, SOAP, FTP), а также частных протоколов. Новые плагины для других протоколов могут быть добавлены по требованию
Тестовый скриптУдобные для понимания CSV файлы. Скрипты создаются вручную аналитиками или создаются автоматически на основе системных данных.
Контроль тестированияи построение отчетов
Интегрированный (Web фронт-энд), разрешающий несколько одновременных разнородных соединений, одновременное выполнение множества запланированных скриптов, связанных с основнымиглобальными шагами, краткое резюмирование результатов тестирования и детальные отчеты о прогоне. Базируется на принципе прогона всех скриптов одним нажатием - принцип “Большой кнопки”
Требованияк платформе
Low footprint cross-platform application, MySQL или другие RDBMS
![Page 25: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/25.jpg)
Работы ClearTH при выполнении теста
25 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
Запуск выполнения
Чтение имени Global Step
Поиск Action с необходимым GS
Выполнение Action
Нет невыполненных Actions Формирование отчетов
Завершение выполнения
Нет невыполненных GSs
![Page 26: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/26.jpg)
Scheduler Config
![Page 27: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/27.jpg)
Matrices Configuration
![Page 28: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/28.jpg)
Test Script
![Page 29: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/29.jpg)
Multiple Test Scenarios With Global Steps
![Page 30: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/30.jpg)
Multiple Test Scenarios With Global Steps
![Page 31: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/31.jpg)
Multiple Test Scenarios With Global Steps
![Page 32: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/32.jpg)
Пример сформированного отчета
![Page 33: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/33.jpg)
Дополнительные возможности
• Имитация компонентов, взаимодействующих с системой;• Подключение к базе данных;• Анализ синтаксиса матрицы; • Работа с динамическими данными с помощью mvel-выражений;• Возможность установки подключений к нескольким базам данных;• Сохранение состояния выполнения тестовых.
33 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 34: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/34.jpg)
Connectivity
![Page 35: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/35.jpg)
Взаимодействие с системой через API
35 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 36: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/36.jpg)
Cимуляция внешних систем
36 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 37: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/37.jpg)
Cимуляция внешних систем
37 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 38: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/38.jpg)
Cимуляция внешних систем
38 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 39: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/39.jpg)
Работаем с
Успешный опыт
Внедряется
39 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 40: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/40.jpg)
Ваши вопросы
40 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com
![Page 41: TMPA-2015: ClearTH: a Tool for Automated Testing of Post Trade Systems](https://reader035.fdocuments.us/reader035/viewer/2022081521/58ee189c1a28ab6c378b458d/html5/thumbnails/41.jpg)
Спасибо!
41 Quality Assurance & Related Software Development for Innovative Trading Systems Tel: +7 495 640 24 60 , +1 415 830 38 49 www.exactpro.com