Test duration : 10.008s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2021-01-14 21:42:50 |
2021-01-14 21:42:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:50 | ------------------------------------ 2021-01-14 21:42:50 | [Mutex] waiting for: [configured:node:node-0868639d-4136-4015-8aa6-faacce8adbff:node-5638ce42-2f6e-4cda-98be-724be71b90eb] 2021-01-14 21:42:50 | [Mutex] received everything. 2021-01-14 21:42:50 | [Mutex] isItemNotified: configured:node:node-0868639d-4136-4015-8aa6-faacce8adbff:node-5638ce42-2f6e-4cda-98be-724be71b90eb :: true 2021-01-14 21:42:51 | [Mutex] waiting for: [received:nodes:c137f339-3f8e-4030-a5dc-997a59afe85a:localhost] 2021-01-14 21:42:51 | [Mutex] received everything. 2021-01-14 21:42:51 | [Mutex] isItemNotified: received:node:c137f339-3f8e-4030-a5dc-997a59afe85a:localhost:node-0868639d-4136-4015-8aa6-faacce8adbff:Node 0868639d-4136-4015-8aa6-faacce8adbff :: true 2021-01-14 21:42:51 | [Mutex] waiting for: [received:nodes:9d18d915-e764-4e01-8372-4830e94b0e62:localhost] 2021-01-14 21:42:51 | [Mutex] received everything. 2021-01-14 21:42:51 | [Mutex] isItemNotified: received:node:9d18d915-e764-4e01-8372-4830e94b0e62:localhost:node-0868639d-4136-4015-8aa6-faacce8adbff:Node 0868639d-4136-4015-8aa6-faacce8adbff :: false |
createNodes | 1.450s |
2021-01-14 21:42:47 |
2021-01-14 21:42:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:47 | ------------------------------------ 2021-01-14 21:42:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0868639d-4136-4015-8aa6-faacce8adbff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0868639d-4136-4015-8aa6-faacce8adbff</title></pubsub></data> 2021-01-14 21:42:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-14 21:42:49 | [Mutex] waiting for: [received:nodes:48fd6143-a226-401c-8c12-8daf066c0404:localhost] 2021-01-14 21:42:49 | [Mutex] received everything. 2021-01-14 21:42:49 | [Mutex] isItemNotified: received:node:48fd6143-a226-401c-8c12-8daf066c0404:localhost:node-0868639d-4136-4015-8aa6-faacce8adbff:Node 0868639d-4136-4015-8aa6-faacce8adbff :: true |
createSubnodes | 1.023s |
2021-01-14 21:42:49 |
2021-01-14 21:42:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:49 | ------------------------------------ 2021-01-14 21:42:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5638ce42-2f6e-4cda-98be-724be71b90eb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5638ce42-2f6e-4cda-98be-724be71b90eb</title></pubsub></data> 2021-01-14 21:42:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-14 21:42:50 | [Mutex] waiting for: [received:nodes:16eb9143-2624-4109-85bc-88f61225439e:localhost] 2021-01-14 21:42:50 | [Mutex] waiting for: [received:nodes:16eb9143-2624-4109-85bc-88f61225439e:localhost] 2021-01-14 21:42:50 | [Mutex] received everything. 2021-01-14 21:42:50 | [Mutex] isItemNotified: received:node:16eb9143-2624-4109-85bc-88f61225439e:localhost:node-5638ce42-2f6e-4cda-98be-724be71b90eb:Node 5638ce42-2f6e-4cda-98be-724be71b90eb :: true |
deleteNodes | 1.034s |
2021-01-14 21:42:55 |
2021-01-14 21:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:55 | ------------------------------------ 2021-01-14 21:42:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5638ce42-2f6e-4cda-98be-724be71b90eb</node></data> 2021-01-14 21:42:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-14 21:42:56 | [Mutex] waiting for: [received:nodes:fccd9e2d-87e2-46fc-9b69-4a1896d02924:localhost] 2021-01-14 21:42:56 | [Mutex] waiting for: [received:nodes:fccd9e2d-87e2-46fc-9b69-4a1896d02924:localhost] 2021-01-14 21:42:57 | [Mutex] received everything. 2021-01-14 21:42:57 | [Mutex] isItemNotified: received:node:fccd9e2d-87e2-46fc-9b69-4a1896d02924:localhost:node-5638ce42-2f6e-4cda-98be-724be71b90eb:Node 5638ce42-2f6e-4cda-98be-724be71b90eb :: false |
deleteSubnodes | 1.182s |
2021-01-14 21:42:54 |
2021-01-14 21:42:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:54 | ------------------------------------ 2021-01-14 21:42:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0868639d-4136-4015-8aa6-faacce8adbff</node></data> 2021-01-14 21:42:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-14 21:42:55 | [Mutex] waiting for: [received:nodes:9a54ae42-78b5-474e-9eaa-cd818b495b99:localhost] 2021-01-14 21:42:55 | [Mutex] received everything. 2021-01-14 21:42:55 | [Mutex] isItemNotified: received:node:9a54ae42-78b5-474e-9eaa-cd818b495b99:localhost:node-0868639d-4136-4015-8aa6-faacce8adbff:Node 0868639d-4136-4015-8aa6-faacce8adbff :: false 2021-01-14 21:42:55 | [Mutex] waiting for: [received:nodes:3a21a4ac-467f-4623-a241-e6b057453d76:localhost] 2021-01-14 21:42:55 | [Mutex] received everything. 2021-01-14 21:42:55 | [Mutex] isItemNotified: received:node:3a21a4ac-467f-4623-a241-e6b057453d76:localhost:node-0868639d-4136-4015-8aa6-faacce8adbff:Node 0868639d-4136-4015-8aa6-faacce8adbff :: false |
publishItemsToNodes | 0.208s |
2021-01-14 21:42:52 |
2021-01-14 21:42:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:52 | ------------------------------------ 2021-01-14 21:42:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0868639d-4136-4015-8aa6-faacce8adbff</node><item-id>item-7ebad4ea-61b1-4f60-8820-813c7dd66f74</item-id><entry><test>item-7ebad4ea-61b1-4f60-8820-813c7dd66f74</test></entry></data> 2021-01-14 21:42:52 | 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-7ebad4ea-61b1-4f60-8820-813c7dd66f74</value></item-id></result> 2021-01-14 21:42:52 | [Mutex] waiting for: [published:item:notifieditem-7ebad4ea-61b1-4f60-8820-813c7dd66f74:admin@test-domain.com] 2021-01-14 21:42:52 | [Mutex] received everything. 2021-01-14 21:42:52 | [Mutex] isItemNotified: published:item:notifieditem-7ebad4ea-61b1-4f60-8820-813c7dd66f74:admin@test-domain.com :: true |
retractItemsFromNodes | 0.278s |
2021-01-14 21:42:53 |
2021-01-14 21:42:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:53 | ------------------------------------ 2021-01-14 21:42:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0868639d-4136-4015-8aa6-faacce8adbff</node><item-id>item-7ebad4ea-61b1-4f60-8820-813c7dd66f74</item-id></data> 2021-01-14 21:42:53 | 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-7ebad4ea-61b1-4f60-8820-813c7dd66f74</value></item-id></result> 2021-01-14 21:42:53 | [Mutex] waiting for: [retracted:item:notifieditem-7ebad4ea-61b1-4f60-8820-813c7dd66f74:admin@test-domain.com] 2021-01-14 21:42:53 | [Mutex] received everything. 2021-01-14 21:42:53 | [Mutex] isItemNotified: retracted:item:notifieditem-7ebad4ea-61b1-4f60-8820-813c7dd66f74:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.305s |
2021-01-14 21:42:52 |
2021-01-14 21:42:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:52 | ------------------------------------ 2021-01-14 21:42:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0868639d-4136-4015-8aa6-faacce8adbff</node><item-id>item-7ebad4ea-61b1-4f60-8820-813c7dd66f74</item-id></data> 2021-01-14 21:42:53 | 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-0868639d-4136-4015-8aa6-faacce8adbff</value></node><item-id label="Item ID" type="text-single"><value>item-7ebad4ea-61b1-4f60-8820-813c7dd66f74</value></item-id><item label="Item" type="text-multi"><value><item id="item-7ebad4ea-61b1-4f60-8820-813c7dd66f74"><test>item-7ebad4ea-61b1-4f60-8820-813c7dd66f74</test></item></value></item></result> 2021-01-14 21:42:53 | [Mutex] notify: [retrieved:item:item-7ebad4ea-61b1-4f60-8820-813c7dd66f74:payload-matches:true:localhost] 2021-01-14 21:42:53 | [Mutex] received everything. 2021-01-14 21:42:53 | [Mutex] isItemNotified: retrieved:item:item-7ebad4ea-61b1-4f60-8820-813c7dd66f74:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-01-14 21:42:53 |
2021-01-14 21:42:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:53 | ------------------------------------ 2021-01-14 21:42:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-14 21:42:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-0868639d-4136-4015-8aa6-faacce8adbff</value><value>test</value><value>node-5638ce42-2f6e-4cda-98be-724be71b90eb</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-01-14 21:42:53 |
2021-01-14 21:42:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:53 | ------------------------------------ 2021-01-14 21:42:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0868639d-4136-4015-8aa6-faacce8adbff)</node-pattern></data> 2021-01-14 21:42:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.141s |
2021-01-14 21:42:51 |
2021-01-14 21:42:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:51 | ------------------------------------ 2021-01-14 21:42:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0868639d-4136-4015-8aa6-faacce8adbff</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-14 21:42:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.233s |
2021-01-14 21:42:53 |
2021-01-14 21:42:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-14 21:42:53 | ------------------------------------ 2021-01-14 21:42:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0868639d-4136-4015-8aa6-faacce8adbff</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-14 21:42:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |