Test duration : 9.622s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.083s |
2022-09-20 23:03:35 |
2022-09-20 23:03:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:35 | ------------------------------------ 2022-09-20 23:03:35 | [Mutex] waiting for: [configured:node:node-cdda4058-dee7-4cb1-99f9-bdb7407ac467:node-d97ea6aa-5a83-4577-a42d-c3751c2973c8] 2022-09-20 23:03:36 | [Mutex] received everything. 2022-09-20 23:03:36 | [Mutex] isItemNotified: configured:node:node-cdda4058-dee7-4cb1-99f9-bdb7407ac467:node-d97ea6aa-5a83-4577-a42d-c3751c2973c8 :: true 2022-09-20 23:03:37 | [Mutex] waiting for: [received:nodes:03e04b02-2276-4092-a0be-cfe00abfe767:localhost] 2022-09-20 23:03:37 | [Mutex] received everything. 2022-09-20 23:03:37 | [Mutex] isItemNotified: received:node:03e04b02-2276-4092-a0be-cfe00abfe767:localhost:node-cdda4058-dee7-4cb1-99f9-bdb7407ac467:Node cdda4058-dee7-4cb1-99f9-bdb7407ac467 :: true 2022-09-20 23:03:37 | [Mutex] waiting for: [received:nodes:b4fe173c-5ce1-4f9f-867c-5bd939aab6b3:localhost] 2022-09-20 23:03:37 | [Mutex] received everything. 2022-09-20 23:03:37 | [Mutex] isItemNotified: received:node:b4fe173c-5ce1-4f9f-867c-5bd939aab6b3:localhost:node-cdda4058-dee7-4cb1-99f9-bdb7407ac467:Node cdda4058-dee7-4cb1-99f9-bdb7407ac467 :: false |
createNodes | 1.528s |
2022-09-20 23:03:33 |
2022-09-20 23:03:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:33 | ------------------------------------ 2022-09-20 23:03:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cdda4058-dee7-4cb1-99f9-bdb7407ac467</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cdda4058-dee7-4cb1-99f9-bdb7407ac467</title></pubsub></data> 2022-09-20 23:03:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-20 23:03:34 | [Mutex] waiting for: [received:nodes:ea06207f-cf6e-42e2-89db-7dc7a45d348c:localhost] 2022-09-20 23:03:34 | [Mutex] waiting for: [received:nodes:ea06207f-cf6e-42e2-89db-7dc7a45d348c:localhost] 2022-09-20 23:03:34 | [Mutex] waiting for: [received:nodes:ea06207f-cf6e-42e2-89db-7dc7a45d348c:localhost] 2022-09-20 23:03:34 | [Mutex] received everything. 2022-09-20 23:03:34 | [Mutex] isItemNotified: received:node:ea06207f-cf6e-42e2-89db-7dc7a45d348c:localhost:node-cdda4058-dee7-4cb1-99f9-bdb7407ac467:Node cdda4058-dee7-4cb1-99f9-bdb7407ac467 :: true |
createSubnodes | 1.023s |
2022-09-20 23:03:34 |
2022-09-20 23:03:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:34 | ------------------------------------ 2022-09-20 23:03:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d97ea6aa-5a83-4577-a42d-c3751c2973c8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d97ea6aa-5a83-4577-a42d-c3751c2973c8</title></pubsub></data> 2022-09-20 23:03:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-20 23:03:35 | [Mutex] waiting for: [received:nodes:7ab02419-1f03-470e-9bdd-9e0b844a2f34:localhost] 2022-09-20 23:03:35 | [Mutex] waiting for: [received:nodes:7ab02419-1f03-470e-9bdd-9e0b844a2f34:localhost] 2022-09-20 23:03:35 | [Mutex] received everything. 2022-09-20 23:03:35 | [Mutex] isItemNotified: received:node:7ab02419-1f03-470e-9bdd-9e0b844a2f34:localhost:node-d97ea6aa-5a83-4577-a42d-c3751c2973c8:Node d97ea6aa-5a83-4577-a42d-c3751c2973c8 :: true |
deleteNodes | 1.017s |
2022-09-20 23:03:41 |
2022-09-20 23:03:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:41 | ------------------------------------ 2022-09-20 23:03:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d97ea6aa-5a83-4577-a42d-c3751c2973c8</node></data> 2022-09-20 23:03:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-20 23:03:42 | [Mutex] waiting for: [received:nodes:d2112e48-3783-4982-8fb1-0d54ddcb8b45:localhost] 2022-09-20 23:03:42 | [Mutex] received everything. 2022-09-20 23:03:42 | [Mutex] isItemNotified: received:node:d2112e48-3783-4982-8fb1-0d54ddcb8b45:localhost:node-d97ea6aa-5a83-4577-a42d-c3751c2973c8:Node d97ea6aa-5a83-4577-a42d-c3751c2973c8 :: false |
deleteSubnodes | 1.117s |
2022-09-20 23:03:40 |
2022-09-20 23:03:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:40 | ------------------------------------ 2022-09-20 23:03:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cdda4058-dee7-4cb1-99f9-bdb7407ac467</node></data> 2022-09-20 23:03:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-20 23:03:41 | [Mutex] waiting for: [received:nodes:caa48939-4aa2-4722-8437-0f4ce74e0942:localhost] 2022-09-20 23:03:41 | [Mutex] received everything. 2022-09-20 23:03:41 | [Mutex] isItemNotified: received:node:caa48939-4aa2-4722-8437-0f4ce74e0942:localhost:node-cdda4058-dee7-4cb1-99f9-bdb7407ac467:Node cdda4058-dee7-4cb1-99f9-bdb7407ac467 :: false 2022-09-20 23:03:41 | [Mutex] waiting for: [received:nodes:e59319ce-550f-4e45-88a5-8b5b5ed990ac:localhost] 2022-09-20 23:03:41 | [Mutex] received everything. 2022-09-20 23:03:41 | [Mutex] isItemNotified: received:node:e59319ce-550f-4e45-88a5-8b5b5ed990ac:localhost:node-cdda4058-dee7-4cb1-99f9-bdb7407ac467:Node cdda4058-dee7-4cb1-99f9-bdb7407ac467 :: false |
publishItemsToNodes | 0.279s |
2022-09-20 23:03:38 |
2022-09-20 23:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:38 | ------------------------------------ 2022-09-20 23:03:38 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-cdda4058-dee7-4cb1-99f9-bdb7407ac467</node><item-id>item-abb393fb-c3cb-4e0b-952f-238a5afb3130</item-id><entry><test>item-abb393fb-c3cb-4e0b-952f-238a5afb3130</test></entry></data> 2022-09-20 23:03:38 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-abb393fb-c3cb-4e0b-952f-238a5afb3130</value></item-id></result> 2022-09-20 23:03:38 | [Mutex] received everything. 2022-09-20 23:03:38 | [Mutex] isItemNotified: published:item:notifieditem-abb393fb-c3cb-4e0b-952f-238a5afb3130:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2022-09-20 23:03:38 |
2022-09-20 23:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:38 | ------------------------------------ 2022-09-20 23:03:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-cdda4058-dee7-4cb1-99f9-bdb7407ac467</node><item-id>item-abb393fb-c3cb-4e0b-952f-238a5afb3130</item-id></data> 2022-09-20 23:03:39 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-abb393fb-c3cb-4e0b-952f-238a5afb3130</value></item-id></result> 2022-09-20 23:03:39 | [Mutex] received everything. 2022-09-20 23:03:39 | [Mutex] isItemNotified: retracted:item:notifieditem-abb393fb-c3cb-4e0b-952f-238a5afb3130:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.242s |
2022-09-20 23:03:38 |
2022-09-20 23:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:38 | ------------------------------------ 2022-09-20 23:03:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-cdda4058-dee7-4cb1-99f9-bdb7407ac467</node><item-id>item-abb393fb-c3cb-4e0b-952f-238a5afb3130</item-id></data> 2022-09-20 23:03:38 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-cdda4058-dee7-4cb1-99f9-bdb7407ac467</value></node><item-id label="Item ID" type="text-single"><value>item-abb393fb-c3cb-4e0b-952f-238a5afb3130</value></item-id><item label="Item" type="text-multi"><value><item id="item-abb393fb-c3cb-4e0b-952f-238a5afb3130"><test>item-abb393fb-c3cb-4e0b-952f-238a5afb3130</test></item></value></item></result> 2022-09-20 23:03:38 | [Mutex] notify: [retrieved:item:item-abb393fb-c3cb-4e0b-952f-238a5afb3130:payload-matches:true:localhost] 2022-09-20 23:03:38 | [Mutex] received everything. 2022-09-20 23:03:38 | [Mutex] isItemNotified: retrieved:item:item-abb393fb-c3cb-4e0b-952f-238a5afb3130:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-20 23:03:38 |
2022-09-20 23:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:38 | ------------------------------------ 2022-09-20 23:03:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-20 23:03:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-cdda4058-dee7-4cb1-99f9-bdb7407ac467</value><value>node-d97ea6aa-5a83-4577-a42d-c3751c2973c8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-09-20 23:03:38 |
2022-09-20 23:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:38 | ------------------------------------ 2022-09-20 23:03:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cdda4058-dee7-4cb1-99f9-bdb7407ac467)</node-pattern></data> 2022-09-20 23:03:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.113s |
2022-09-20 23:03:37 |
2022-09-20 23:03:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:37 | ------------------------------------ 2022-09-20 23:03:37 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-cdda4058-dee7-4cb1-99f9-bdb7407ac467</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-20 23:03:37 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.239s |
2022-09-20 23:03:39 |
2022-09-20 23:03:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-20 23:03:39 | ------------------------------------ 2022-09-20 23:03:39 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-cdda4058-dee7-4cb1-99f9-bdb7407ac467</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-20 23:03:39 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |