Test duration : 10.718s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.177s |
2020-10-27 22:31:57 |
2020-10-27 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:31:57 | ------------------------------------ 2020-10-27 22:31:57 | [Mutex] waiting for: [configured:node:node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7:node-74471374-f763-4d8c-a51f-9d72e087855b] 2020-10-27 22:31:57 | [Mutex] received everything. 2020-10-27 22:31:57 | [Mutex] isItemNotified: configured:node:node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7:node-74471374-f763-4d8c-a51f-9d72e087855b :: true 2020-10-27 22:31:58 | [Mutex] waiting for: [received:nodes:e17d00d8-a5be-4ffb-8821-f9ba60b6266f:localhost] 2020-10-27 22:31:58 | [Mutex] received everything. 2020-10-27 22:31:58 | [Mutex] isItemNotified: received:node:e17d00d8-a5be-4ffb-8821-f9ba60b6266f:localhost:node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7:Node bc554a64-d1f0-4a45-809e-9f39ac6f87c7 :: true 2020-10-27 22:31:58 | [Mutex] waiting for: [received:nodes:00ffd5a4-cab2-421e-beb6-74e73ead105a:localhost] 2020-10-27 22:31:58 | [Mutex] received everything. 2020-10-27 22:31:58 | [Mutex] isItemNotified: received:node:00ffd5a4-cab2-421e-beb6-74e73ead105a:localhost:node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7:Node bc554a64-d1f0-4a45-809e-9f39ac6f87c7 :: false |
createNodes | 1.696s |
2020-10-27 22:31:54 |
2020-10-27 22:31:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:31:54 | ------------------------------------ 2020-10-27 22:31:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bc554a64-d1f0-4a45-809e-9f39ac6f87c7</title></pubsub></data> 2020-10-27 22:31:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-27 22:31:55 | [Mutex] waiting for: [received:nodes:28444fb7-b07d-46fb-b0f5-4cb946438aac:localhost] 2020-10-27 22:31:56 | [Mutex] received everything. 2020-10-27 22:31:56 | [Mutex] isItemNotified: received:node:28444fb7-b07d-46fb-b0f5-4cb946438aac:localhost:node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7:Node bc554a64-d1f0-4a45-809e-9f39ac6f87c7 :: true |
createSubnodes | 1.039s |
2020-10-27 22:31:56 |
2020-10-27 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:31:56 | ------------------------------------ 2020-10-27 22:31:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-74471374-f763-4d8c-a51f-9d72e087855b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 74471374-f763-4d8c-a51f-9d72e087855b</title></pubsub></data> 2020-10-27 22:31:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-27 22:31:57 | [Mutex] waiting for: [received:nodes:1ea79127-e487-4b85-8e90-f0f434bec0b6:localhost] 2020-10-27 22:31:57 | [Mutex] received everything. 2020-10-27 22:31:57 | [Mutex] isItemNotified: received:node:1ea79127-e487-4b85-8e90-f0f434bec0b6:localhost:node-74471374-f763-4d8c-a51f-9d72e087855b:Node 74471374-f763-4d8c-a51f-9d72e087855b :: true |
deleteNodes | 1.021s |
2020-10-27 22:32:02 |
2020-10-27 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:32:02 | ------------------------------------ 2020-10-27 22:32:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-74471374-f763-4d8c-a51f-9d72e087855b</node></data> 2020-10-27 22:32:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-27 22:32:04 | [Mutex] waiting for: [received:nodes:3324917e-065e-419f-b2cc-3d5dd617ae81:localhost] 2020-10-27 22:32:04 | [Mutex] received everything. 2020-10-27 22:32:04 | [Mutex] isItemNotified: received:node:3324917e-065e-419f-b2cc-3d5dd617ae81:localhost:node-74471374-f763-4d8c-a51f-9d72e087855b:Node 74471374-f763-4d8c-a51f-9d72e087855b :: false |
deleteSubnodes | 1.156s |
2020-10-27 22:32:01 |
2020-10-27 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:32:01 | ------------------------------------ 2020-10-27 22:32:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7</node></data> 2020-10-27 22:32:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-27 22:32:02 | [Mutex] waiting for: [received:nodes:c48a153a-e908-46e0-a09e-d1e37bb26d55:localhost] 2020-10-27 22:32:02 | [Mutex] received everything. 2020-10-27 22:32:02 | [Mutex] isItemNotified: received:node:c48a153a-e908-46e0-a09e-d1e37bb26d55:localhost:node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7:Node bc554a64-d1f0-4a45-809e-9f39ac6f87c7 :: false 2020-10-27 22:32:02 | [Mutex] waiting for: [received:nodes:b6590723-5831-4fa9-bdf2-92f00a7015af:localhost] 2020-10-27 22:32:02 | [Mutex] received everything. 2020-10-27 22:32:02 | [Mutex] isItemNotified: received:node:b6590723-5831-4fa9-bdf2-92f00a7015af:localhost:node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7:Node bc554a64-d1f0-4a45-809e-9f39ac6f87c7 :: false |
publishItemsToNodes | 0.277s |
2020-10-27 22:31:59 |
2020-10-27 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:31:59 | ------------------------------------ 2020-10-27 22:31:59 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7</node><item-id>item-56f68af6-c5a5-4a1d-acad-1c0ce64541fd</item-id><entry><test>item-56f68af6-c5a5-4a1d-acad-1c0ce64541fd</test></entry></data> 2020-10-27 22:31:59 | 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-56f68af6-c5a5-4a1d-acad-1c0ce64541fd</value></item-id></result> 2020-10-27 22:31:59 | [Mutex] waiting for: [published:item:notifieditem-56f68af6-c5a5-4a1d-acad-1c0ce64541fd:admin@test-domain.com] 2020-10-27 22:31:59 | [Mutex] received everything. 2020-10-27 22:31:59 | [Mutex] isItemNotified: published:item:notifieditem-56f68af6-c5a5-4a1d-acad-1c0ce64541fd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.307s |
2020-10-27 22:32:00 |
2020-10-27 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:32:00 | ------------------------------------ 2020-10-27 22:32:00 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7</node><item-id>item-56f68af6-c5a5-4a1d-acad-1c0ce64541fd</item-id></data> 2020-10-27 22:32:00 | 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-56f68af6-c5a5-4a1d-acad-1c0ce64541fd</value></item-id></result> 2020-10-27 22:32:00 | [Mutex] received everything. 2020-10-27 22:32:00 | [Mutex] isItemNotified: retracted:item:notifieditem-56f68af6-c5a5-4a1d-acad-1c0ce64541fd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.369s |
2020-10-27 22:31:59 |
2020-10-27 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:31:59 | ------------------------------------ 2020-10-27 22:31:59 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7</node><item-id>item-56f68af6-c5a5-4a1d-acad-1c0ce64541fd</item-id></data> 2020-10-27 22:31:59 | 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-bc554a64-d1f0-4a45-809e-9f39ac6f87c7</value></node><item-id label="Item ID" type="text-single"><value>item-56f68af6-c5a5-4a1d-acad-1c0ce64541fd</value></item-id><item label="Item" type="text-multi"><value><item id="item-56f68af6-c5a5-4a1d-acad-1c0ce64541fd"><test>item-56f68af6-c5a5-4a1d-acad-1c0ce64541fd</test></item></value></item></result> 2020-10-27 22:31:59 | [Mutex] notify: [retrieved:item:item-56f68af6-c5a5-4a1d-acad-1c0ce64541fd:payload-matches:true:localhost] 2020-10-27 22:31:59 | [Mutex] received everything. 2020-10-27 22:31:59 | [Mutex] isItemNotified: retrieved:item:item-56f68af6-c5a5-4a1d-acad-1c0ce64541fd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2020-10-27 22:31:59 |
2020-10-27 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:31:59 | ------------------------------------ 2020-10-27 22:31:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-27 22:32:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-74471374-f763-4d8c-a51f-9d72e087855b</value><value>node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-10-27 22:32:00 |
2020-10-27 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:32:00 | ------------------------------------ 2020-10-27 22:32:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7)</node-pattern></data> 2020-10-27 22:32:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.105s |
2020-10-27 22:31:58 |
2020-10-27 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:31:58 | ------------------------------------ 2020-10-27 22:31:58 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-27 22:31:58 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.427s |
2020-10-27 22:32:00 |
2020-10-27 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-27 22:32:00 | ------------------------------------ 2020-10-27 22:32:00 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bc554a64-d1f0-4a45-809e-9f39ac6f87c7</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-27 22:32:00 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |