Commit Graph
81 Commits
Author SHA1 Message Date
fengzero 41a316fa3b enable persiste ft case 2022-03-03 06:27:00 +00:00
gc87 8057bf8fe1 Add modifications to support opcua tests 2022-03-02 19:26:04 +08:00
fengzero 4f2ab2070d del default driver/app adapter 2022-03-02 08:56:50 +00:00
fengzero 9e7c02f5ea disable persistence test 2022-03-02 08:40:19 +00:00
fengzero 424613d530 del default mqtt/modbus adapter 2022-03-02 08:28:27 +00:00
lixiumei 26a61fd660 Adding functional tests for persistence 2022-03-02 11:54:08 +08:00
eeff d207cc97ac Fix pressure testing robot file 2022-02-18 16:10:53 +08:00
Parker Liu 2b177aa015 Fix multi-times load json object from buffer when decode complex json string 2022-02-18 11:21:55 +08:00
eeff 4ebc285ff6 Fix pressure testing read/write loop 2022-02-17 15:56:34 +08:00
eeff 2e4066f4c5 Ignore sample app/driver adapter in pressure testing read/write loop 2022-02-17 15:56:34 +08:00
eeff 66ecfbf1e5 Fix robot keyword Copy Persistence Test Data 2022-02-17 15:56:34 +08:00
eeff 76941227ae Fix pressure testing persistence data 2022-02-17 15:56:34 +08:00
gc87 52ec9e3cef Modify MQTT configuration items
- Remove req/resp theme settings
- Add client id settings
2022-02-14 10:13:31 +08:00
gc87 0eb0fe658e Make MQTT client id configurable 2022-02-14 10:13:31 +08:00
gc87 21a22f7807 Delete all function codes of the MQTT API 2022-02-14 10:13:31 +08:00
gc87 ab3a12c4d5 Add command field to MQTT request response data
- Modify the test script of ft
- Fix parameter error in setting command
- Fix json_mqtt_t instance not released
2022-02-14 10:13:31 +08:00
gc87 5f0872477e Fix function test script file name 2022-02-14 10:13:31 +08:00
gc87 ecd8d846fc Fix write's topic error
- Function tests all passed without removing function code.
2022-02-14 10:13:31 +08:00
gc87 e8e1624494 Modify robot framework test script
- for supporting new topics
2022-02-14 10:13:31 +08:00
eeff 7c76adbd79 Add dataset selection option for pressure testing 2022-02-11 19:05:26 +08:00
eeff 0c8b3d60c5 Add ft/data/persistence-total-5w to ft/data/persistence/total-50k 2022-02-11 19:05:26 +08:00
eeff 1c35e7afd7 Move ft/data/persistence-total-1w to ft/data/persistence/total-10k 2022-02-11 19:05:26 +08:00
eeff dbb1c00790 Move ft/data/persistence-total-1k to ft/data/persistence/total-1k 2022-02-11 19:05:26 +08:00
eeff ad3cfcbdfc Move ft/data/persistence-simple-1w to ft/data/persistence/simple-10k 2022-02-11 19:05:26 +08:00
eeff 4fdba85396 Move ft/data/persistence-simple-1k to ft/data/persistence/simple-1k 2022-02-11 19:05:26 +08:00
eeff 503e3f3708 Profile CPU and MEM usage in pressure testing 2022-02-11 15:51:30 +08:00
eeff 462c178548 Add robot keyword Profile Neuron for pressure testing report 2022-02-11 15:51:30 +08:00
eeff 8bdbdb30a5 Add dependencies for pressure testing
1. psrecord
  2. matplotlib
2022-02-11 15:51:30 +08:00
fengzero 75474e3def error codes classify 2022-02-11 11:54:13 +08:00
fengzero 84accdf861 Delete the first errorcode in the read/write result 2022-02-11 11:54:13 +08:00
fengzero b704110fa9 disable mqtt exception case 2022-02-09 17:43:22 +08:00
fengzero e2a96781b8 mqtt ft:skip modbus execption 2022-02-09 17:43:22 +08:00
fengzero 86cdb6ee85 del unused errorcode 2022-02-09 17:43:22 +08:00
fengzero ef78632f50 ft: modbus and mqtt network exception 2022-02-09 17:43:22 +08:00
lixiumei 6e7fdbcc87 Adding data for pressures tests 2022-02-09 17:42:44 +08:00
eeff a4707c61f4 Add persistence test data for pressure testing 2022-01-24 18:44:38 +08:00
eeff 3f897f22b2 Add pressure testing robot file
The pressure testing code is in the file pressure.test, so that CI
  does not pick it up.
2022-01-24 18:44:38 +08:00
eeff 9aa743bca0 Add pressure testing robotframework common resource 2022-01-24 18:44:38 +08:00
eeff c5f961cd6d Add robotframework keywords for pressure testing
1. Add keyword Get Random Node
  2. Add keyword Get Random Group Config
2022-01-24 18:44:38 +08:00
eeff 3cb02d3414 Fix functionality tests to remove persistence data 2022-01-14 18:48:03 +08:00
eeff 409188351f Fix functionality tests to remove persistence data 2022-01-14 18:47:44 +08:00
gc87 258f0a828a Remove the libplugin-opcua project 2022-01-12 11:11:36 +08:00
eeff 2928a7a46a Fix mqtt functionality tests CI
1. Make mosquitto more verbose
  2. Sleep for 1 second in mqtt LOGIN keyword
2021-12-31 18:43:43 +08:00
eeff 1b4d373b9c Fix mqtt functionality tests CI
1. Start the mosquitto broker
  2. Change the mqtt client version to 3.1.1
2021-12-31 16:39:57 +08:00
eeff d23311447e Fix mqtt functionality tests CI 2021-12-31 11:04:17 +08:00
eeff 05f1e19ac0 Change functionality test mqtt broker host to localhost 2021-12-29 17:14:02 +08:00
eeff f56c32ab39 Move functionality tests python dependencies to requirements.txt 2021-12-29 17:14:02 +08:00
eeff eff9d5937d Reduce modbus tcp functionality tests sleep interval 2021-12-29 15:10:49 +08:00
eeff 291e9c2fc3 Refactor functionality tests
Use [Teardown] section to ensure tests tear down properly
2021-12-29 15:10:49 +08:00
eeff 9972b4045e Refactor functionality tests to import API resources conditionally
1. Add keyword Import Neuron API resource in common.resource, so that
     when robotframework command line set:
     1.1 `--variable neuron_api:http` will test using http api (default)
     1.2 `--variable neuron_api:mqtt` will test using mqtt api
  2. Add keyword Skip If Not Http API in common.resource, so that we
     could run tests only meaningful for http.
  3. Update test suites accordingly
2021-12-29 15:10:49 +08:00