Test duration : 9.528s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2022-07-06 22:33:06 |
2022-07-06 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:06 | ------------------------------------ 2022-07-06 22:33:06 | [Mutex] waiting for: [configured:node:node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3:node-92c16483-b127-440a-8ef8-c989211b3bdb] 2022-07-06 22:33:06 | [Mutex] received everything. 2022-07-06 22:33:06 | [Mutex] isItemNotified: configured:node:node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3:node-92c16483-b127-440a-8ef8-c989211b3bdb :: true 2022-07-06 22:33:07 | [Mutex] waiting for: [received:nodes:f92f451e-586d-472c-836b-69ecb648321c:localhost] 2022-07-06 22:33:07 | [Mutex] received everything. 2022-07-06 22:33:07 | [Mutex] isItemNotified: received:node:f92f451e-586d-472c-836b-69ecb648321c:localhost:node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3:Node e16e012c-e1e1-4645-ae04-5d66bf7d51c3 :: true 2022-07-06 22:33:07 | [Mutex] waiting for: [received:nodes:e19dd518-4d01-4229-9d79-c541c4408ac0:localhost] 2022-07-06 22:33:07 | [Mutex] received everything. 2022-07-06 22:33:07 | [Mutex] isItemNotified: received:node:e19dd518-4d01-4229-9d79-c541c4408ac0:localhost:node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3:Node e16e012c-e1e1-4645-ae04-5d66bf7d51c3 :: false |
createNodes | 1.453s |
2022-07-06 22:33:03 |
2022-07-06 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:03 | ------------------------------------ 2022-07-06 22:33:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e16e012c-e1e1-4645-ae04-5d66bf7d51c3</title></pubsub></data> 2022-07-06 22:33:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-06 22:33:05 | [Mutex] waiting for: [received:nodes:f1562498-598f-4305-a794-7a7487324421:localhost] 2022-07-06 22:33:05 | [Mutex] received everything. 2022-07-06 22:33:05 | [Mutex] isItemNotified: received:node:f1562498-598f-4305-a794-7a7487324421:localhost:node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3:Node e16e012c-e1e1-4645-ae04-5d66bf7d51c3 :: true |
createSubnodes | 1.024s |
2022-07-06 22:33:05 |
2022-07-06 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:05 | ------------------------------------ 2022-07-06 22:33:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-92c16483-b127-440a-8ef8-c989211b3bdb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 92c16483-b127-440a-8ef8-c989211b3bdb</title></pubsub></data> 2022-07-06 22:33:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-06 22:33:06 | [Mutex] waiting for: [received:nodes:e6f08384-9bb4-4584-b6be-a8b9334ef584:localhost] 2022-07-06 22:33:06 | [Mutex] waiting for: [received:nodes:e6f08384-9bb4-4584-b6be-a8b9334ef584:localhost] 2022-07-06 22:33:06 | [Mutex] received everything. 2022-07-06 22:33:06 | [Mutex] isItemNotified: received:node:e6f08384-9bb4-4584-b6be-a8b9334ef584:localhost:node-92c16483-b127-440a-8ef8-c989211b3bdb:Node 92c16483-b127-440a-8ef8-c989211b3bdb :: true |
deleteNodes | 1.024s |
2022-07-06 22:33:11 |
2022-07-06 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:11 | ------------------------------------ 2022-07-06 22:33:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-92c16483-b127-440a-8ef8-c989211b3bdb</node></data> 2022-07-06 22:33:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-06 22:33:12 | [Mutex] waiting for: [received:nodes:c33e0d7a-6179-4a5b-aff2-9db3285a31a1:localhost] 2022-07-06 22:33:12 | [Mutex] waiting for: [received:nodes:c33e0d7a-6179-4a5b-aff2-9db3285a31a1:localhost] 2022-07-06 22:33:12 | [Mutex] received everything. 2022-07-06 22:33:12 | [Mutex] isItemNotified: received:node:c33e0d7a-6179-4a5b-aff2-9db3285a31a1:localhost:node-92c16483-b127-440a-8ef8-c989211b3bdb:Node 92c16483-b127-440a-8ef8-c989211b3bdb :: false |
deleteSubnodes | 1.127s |
2022-07-06 22:33:10 |
2022-07-06 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:10 | ------------------------------------ 2022-07-06 22:33:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3</node></data> 2022-07-06 22:33:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-06 22:33:11 | [Mutex] waiting for: [received:nodes:ae745f5e-5a3d-4164-9fe2-a7c889bb0c00:localhost] 2022-07-06 22:33:11 | [Mutex] waiting for: [received:nodes:ae745f5e-5a3d-4164-9fe2-a7c889bb0c00:localhost] 2022-07-06 22:33:11 | [Mutex] received everything. 2022-07-06 22:33:11 | [Mutex] isItemNotified: received:node:ae745f5e-5a3d-4164-9fe2-a7c889bb0c00:localhost:node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3:Node e16e012c-e1e1-4645-ae04-5d66bf7d51c3 :: false 2022-07-06 22:33:11 | [Mutex] waiting for: [received:nodes:2628bbd6-d823-4bb4-87df-2bed3e8b596f:localhost] 2022-07-06 22:33:11 | [Mutex] received everything. 2022-07-06 22:33:11 | [Mutex] isItemNotified: received:node:2628bbd6-d823-4bb4-87df-2bed3e8b596f:localhost:node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3:Node e16e012c-e1e1-4645-ae04-5d66bf7d51c3 :: false |
publishItemsToNodes | 0.186s |
2022-07-06 22:33:08 |
2022-07-06 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:08 | ------------------------------------ 2022-07-06 22:33:08 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3</node><item-id>item-93eb672b-13e6-4d8c-b5b6-b1054349e98b</item-id><entry><test>item-93eb672b-13e6-4d8c-b5b6-b1054349e98b</test></entry></data> 2022-07-06 22:33:08 | 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-93eb672b-13e6-4d8c-b5b6-b1054349e98b</value></item-id></result> 2022-07-06 22:33:08 | [Mutex] waiting for: [published:item:notifieditem-93eb672b-13e6-4d8c-b5b6-b1054349e98b:admin@test-domain.com] 2022-07-06 22:33:08 | [Mutex] received everything. 2022-07-06 22:33:08 | [Mutex] isItemNotified: published:item:notifieditem-93eb672b-13e6-4d8c-b5b6-b1054349e98b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.351s |
2022-07-06 22:33:09 |
2022-07-06 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:09 | ------------------------------------ 2022-07-06 22:33:09 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3</node><item-id>item-93eb672b-13e6-4d8c-b5b6-b1054349e98b</item-id></data> 2022-07-06 22:33:09 | 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-93eb672b-13e6-4d8c-b5b6-b1054349e98b</value></item-id></result> 2022-07-06 22:33:09 | [Mutex] waiting for: [retracted:item:notifieditem-93eb672b-13e6-4d8c-b5b6-b1054349e98b:admin@test-domain.com] 2022-07-06 22:33:09 | [Mutex] received everything. 2022-07-06 22:33:09 | [Mutex] isItemNotified: retracted:item:notifieditem-93eb672b-13e6-4d8c-b5b6-b1054349e98b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.193s |
2022-07-06 22:33:08 |
2022-07-06 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:08 | ------------------------------------ 2022-07-06 22:33:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3</node><item-id>item-93eb672b-13e6-4d8c-b5b6-b1054349e98b</item-id></data> 2022-07-06 22:33:08 | 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-e16e012c-e1e1-4645-ae04-5d66bf7d51c3</value></node><item-id label="Item ID" type="text-single"><value>item-93eb672b-13e6-4d8c-b5b6-b1054349e98b</value></item-id><item label="Item" type="text-multi"><value><item id="item-93eb672b-13e6-4d8c-b5b6-b1054349e98b"><test>item-93eb672b-13e6-4d8c-b5b6-b1054349e98b</test></item></value></item></result> 2022-07-06 22:33:08 | [Mutex] notify: [retrieved:item:item-93eb672b-13e6-4d8c-b5b6-b1054349e98b:payload-matches:true:localhost] 2022-07-06 22:33:08 | [Mutex] received everything. 2022-07-06 22:33:08 | [Mutex] isItemNotified: retrieved:item:item-93eb672b-13e6-4d8c-b5b6-b1054349e98b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-06 22:33:08 |
2022-07-06 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:08 | ------------------------------------ 2022-07-06 22:33:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-06 22:33:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-92c16483-b127-440a-8ef8-c989211b3bdb</value><value>test</value><value>node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-06 22:33:08 |
2022-07-06 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:08 | ------------------------------------ 2022-07-06 22:33:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3)</node-pattern></data> 2022-07-06 22:33:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.109s |
2022-07-06 22:33:07 |
2022-07-06 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:07 | ------------------------------------ 2022-07-06 22:33:07 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-06 22:33:07 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.213s |
2022-07-06 22:33:09 |
2022-07-06 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:33:09 | ------------------------------------ 2022-07-06 22:33:09 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e16e012c-e1e1-4645-ae04-5d66bf7d51c3</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-06 22:33:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |