Test duration : 9.530s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2022-08-26 07:20:30 |
2022-08-26 07:20:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:30 | ------------------------------------ 2022-08-26 07:20:30 | [Mutex] waiting for: [configured:node:node-9cc174be-c830-4129-b5db-d816da5236d1:node-41ef8b5b-9cf8-4bd6-8fb9-5ec891d39c9d] 2022-08-26 07:20:30 | [Mutex] received everything. 2022-08-26 07:20:30 | [Mutex] isItemNotified: configured:node:node-9cc174be-c830-4129-b5db-d816da5236d1:node-41ef8b5b-9cf8-4bd6-8fb9-5ec891d39c9d :: true 2022-08-26 07:20:31 | [Mutex] waiting for: [received:nodes:9e5654e6-3d7a-4127-9b7f-634c4e0bd145:localhost] 2022-08-26 07:20:31 | [Mutex] received everything. 2022-08-26 07:20:31 | [Mutex] isItemNotified: received:node:9e5654e6-3d7a-4127-9b7f-634c4e0bd145:localhost:node-9cc174be-c830-4129-b5db-d816da5236d1:Node 9cc174be-c830-4129-b5db-d816da5236d1 :: true 2022-08-26 07:20:31 | [Mutex] waiting for: [received:nodes:64a906fa-b117-4ddf-88e4-0c38353eeec4:localhost] 2022-08-26 07:20:31 | [Mutex] waiting for: [received:nodes:64a906fa-b117-4ddf-88e4-0c38353eeec4:localhost] 2022-08-26 07:20:31 | [Mutex] received everything. 2022-08-26 07:20:31 | [Mutex] isItemNotified: received:node:64a906fa-b117-4ddf-88e4-0c38353eeec4:localhost:node-9cc174be-c830-4129-b5db-d816da5236d1:Node 9cc174be-c830-4129-b5db-d816da5236d1 :: false |
createNodes | 1.531s |
2022-08-26 07:20:27 |
2022-08-26 07:20:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:27 | ------------------------------------ 2022-08-26 07:20:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9cc174be-c830-4129-b5db-d816da5236d1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9cc174be-c830-4129-b5db-d816da5236d1</title></pubsub></data> 2022-08-26 07:20:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-26 07:20:28 | [Mutex] waiting for: [received:nodes:8ba41255-5cf8-46dd-b4a1-ffb6bb86574b:localhost] 2022-08-26 07:20:28 | [Mutex] received everything. 2022-08-26 07:20:28 | [Mutex] isItemNotified: received:node:8ba41255-5cf8-46dd-b4a1-ffb6bb86574b:localhost:node-9cc174be-c830-4129-b5db-d816da5236d1:Node 9cc174be-c830-4129-b5db-d816da5236d1 :: true |
createSubnodes | 1.025s |
2022-08-26 07:20:28 |
2022-08-26 07:20:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:28 | ------------------------------------ 2022-08-26 07:20:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-41ef8b5b-9cf8-4bd6-8fb9-5ec891d39c9d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 41ef8b5b-9cf8-4bd6-8fb9-5ec891d39c9d</title></pubsub></data> 2022-08-26 07:20:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-26 07:20:30 | [Mutex] waiting for: [received:nodes:b252096f-5778-431e-a74f-6c2e825b5c34:localhost] 2022-08-26 07:20:30 | [Mutex] received everything. 2022-08-26 07:20:30 | [Mutex] isItemNotified: received:node:b252096f-5778-431e-a74f-6c2e825b5c34:localhost:node-41ef8b5b-9cf8-4bd6-8fb9-5ec891d39c9d:Node 41ef8b5b-9cf8-4bd6-8fb9-5ec891d39c9d :: true |
deleteNodes | 1.025s |
2022-08-26 07:20:35 |
2022-08-26 07:20:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:35 | ------------------------------------ 2022-08-26 07:20:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-41ef8b5b-9cf8-4bd6-8fb9-5ec891d39c9d</node></data> 2022-08-26 07:20:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-26 07:20:36 | [Mutex] waiting for: [received:nodes:aa237368-6f67-4564-94b2-e51b2c6dc5db:localhost] 2022-08-26 07:20:36 | [Mutex] waiting for: [received:nodes:aa237368-6f67-4564-94b2-e51b2c6dc5db:localhost] 2022-08-26 07:20:36 | [Mutex] waiting for: [received:nodes:aa237368-6f67-4564-94b2-e51b2c6dc5db:localhost] 2022-08-26 07:20:36 | [Mutex] received everything. 2022-08-26 07:20:36 | [Mutex] isItemNotified: received:node:aa237368-6f67-4564-94b2-e51b2c6dc5db:localhost:node-41ef8b5b-9cf8-4bd6-8fb9-5ec891d39c9d:Node 41ef8b5b-9cf8-4bd6-8fb9-5ec891d39c9d :: false |
deleteSubnodes | 1.119s |
2022-08-26 07:20:34 |
2022-08-26 07:20:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:34 | ------------------------------------ 2022-08-26 07:20:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9cc174be-c830-4129-b5db-d816da5236d1</node></data> 2022-08-26 07:20:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-26 07:20:35 | [Mutex] waiting for: [received:nodes:0ad636a8-5e5e-4234-8099-5e534c3e4152:localhost] 2022-08-26 07:20:35 | [Mutex] received everything. 2022-08-26 07:20:35 | [Mutex] isItemNotified: received:node:0ad636a8-5e5e-4234-8099-5e534c3e4152:localhost:node-9cc174be-c830-4129-b5db-d816da5236d1:Node 9cc174be-c830-4129-b5db-d816da5236d1 :: false 2022-08-26 07:20:35 | [Mutex] waiting for: [received:nodes:d9612ed2-5f7f-4464-8f97-febb9b3b85a4:localhost] 2022-08-26 07:20:35 | [Mutex] received everything. 2022-08-26 07:20:35 | [Mutex] isItemNotified: received:node:d9612ed2-5f7f-4464-8f97-febb9b3b85a4:localhost:node-9cc174be-c830-4129-b5db-d816da5236d1:Node 9cc174be-c830-4129-b5db-d816da5236d1 :: false |
publishItemsToNodes | 0.198s |
2022-08-26 07:20:32 |
2022-08-26 07:20:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:32 | ------------------------------------ 2022-08-26 07:20:32 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9cc174be-c830-4129-b5db-d816da5236d1</node><item-id>item-ac251021-d169-48bc-8318-91799fdf0362</item-id><entry><test>item-ac251021-d169-48bc-8318-91799fdf0362</test></entry></data> 2022-08-26 07:20:32 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-ac251021-d169-48bc-8318-91799fdf0362</value></item-id></result> 2022-08-26 07:20:32 | [Mutex] waiting for: [published:item:notifieditem-ac251021-d169-48bc-8318-91799fdf0362:admin@test-domain.com] 2022-08-26 07:20:32 | [Mutex] received everything. 2022-08-26 07:20:32 | [Mutex] isItemNotified: published:item:notifieditem-ac251021-d169-48bc-8318-91799fdf0362:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2022-08-26 07:20:32 |
2022-08-26 07:20:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:32 | ------------------------------------ 2022-08-26 07:20:32 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9cc174be-c830-4129-b5db-d816da5236d1</node><item-id>item-ac251021-d169-48bc-8318-91799fdf0362</item-id></data> 2022-08-26 07:20:33 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-ac251021-d169-48bc-8318-91799fdf0362</value></item-id></result> 2022-08-26 07:20:33 | [Mutex] received everything. 2022-08-26 07:20:33 | [Mutex] isItemNotified: retracted:item:notifieditem-ac251021-d169-48bc-8318-91799fdf0362:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.194s |
2022-08-26 07:20:32 |
2022-08-26 07:20:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:32 | ------------------------------------ 2022-08-26 07:20:32 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9cc174be-c830-4129-b5db-d816da5236d1</node><item-id>item-ac251021-d169-48bc-8318-91799fdf0362</item-id></data> 2022-08-26 07:20:32 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-9cc174be-c830-4129-b5db-d816da5236d1</value></node><item-id type="text-single" label="Item ID"><value>item-ac251021-d169-48bc-8318-91799fdf0362</value></item-id><item type="text-multi" label="Item"><value><item id="item-ac251021-d169-48bc-8318-91799fdf0362"><test>item-ac251021-d169-48bc-8318-91799fdf0362</test></item></value></item></result> 2022-08-26 07:20:32 | [Mutex] notify: [retrieved:item:item-ac251021-d169-48bc-8318-91799fdf0362:payload-matches:true:localhost] 2022-08-26 07:20:32 | [Mutex] received everything. 2022-08-26 07:20:32 | [Mutex] isItemNotified: retrieved:item:item-ac251021-d169-48bc-8318-91799fdf0362:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-26 07:20:32 |
2022-08-26 07:20:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:32 | ------------------------------------ 2022-08-26 07:20:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-26 07:20:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-41ef8b5b-9cf8-4bd6-8fb9-5ec891d39c9d</value><value>test</value><value>node-9cc174be-c830-4129-b5db-d816da5236d1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2022-08-26 07:20:32 |
2022-08-26 07:20:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:32 | ------------------------------------ 2022-08-26 07:20:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9cc174be-c830-4129-b5db-d816da5236d1)</node-pattern></data> 2022-08-26 07:20:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.162s |
2022-08-26 07:20:31 |
2022-08-26 07:20:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:31 | ------------------------------------ 2022-08-26 07:20:31 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9cc174be-c830-4129-b5db-d816da5236d1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-26 07:20:31 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2022-08-26 07:20:33 |
2022-08-26 07:20:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:20:33 | ------------------------------------ 2022-08-26 07:20:33 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9cc174be-c830-4129-b5db-d816da5236d1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-26 07:20:33 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |