Test duration : 9.492s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.127s |
2022-06-10 22:38:46 |
2022-06-10 22:38:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:46 | ------------------------------------ 2022-06-10 22:38:46 | [Mutex] waiting for: [configured:node:node-b2168e02-d6b3-401f-8c80-e8928a3394be:node-263a909b-d85b-4b54-8b3b-fb89bcabd489] 2022-06-10 22:38:46 | [Mutex] received everything. 2022-06-10 22:38:46 | [Mutex] isItemNotified: configured:node:node-b2168e02-d6b3-401f-8c80-e8928a3394be:node-263a909b-d85b-4b54-8b3b-fb89bcabd489 :: true 2022-06-10 22:38:47 | [Mutex] waiting for: [received:nodes:c5886708-9f0a-49b8-8edb-199666ea3a99:localhost] 2022-06-10 22:38:47 | [Mutex] received everything. 2022-06-10 22:38:47 | [Mutex] isItemNotified: received:node:c5886708-9f0a-49b8-8edb-199666ea3a99:localhost:node-b2168e02-d6b3-401f-8c80-e8928a3394be:Node b2168e02-d6b3-401f-8c80-e8928a3394be :: true 2022-06-10 22:38:47 | [Mutex] waiting for: [received:nodes:cdbbb008-516f-4b08-977a-3e49a49c56d0:localhost] 2022-06-10 22:38:47 | [Mutex] waiting for: [received:nodes:cdbbb008-516f-4b08-977a-3e49a49c56d0:localhost] 2022-06-10 22:38:47 | [Mutex] received everything. 2022-06-10 22:38:47 | [Mutex] isItemNotified: received:node:cdbbb008-516f-4b08-977a-3e49a49c56d0:localhost:node-b2168e02-d6b3-401f-8c80-e8928a3394be:Node b2168e02-d6b3-401f-8c80-e8928a3394be :: false |
createNodes | 1.431s |
2022-06-10 22:38:44 |
2022-06-10 22:38:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:44 | ------------------------------------ 2022-06-10 22:38:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b2168e02-d6b3-401f-8c80-e8928a3394be</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b2168e02-d6b3-401f-8c80-e8928a3394be</title></pubsub></data> 2022-06-10 22:38:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-10 22:38:45 | [Mutex] waiting for: [received:nodes:cdbca1d7-4bd8-450c-9945-106b8014fad8:localhost] 2022-06-10 22:38:45 | [Mutex] received everything. 2022-06-10 22:38:45 | [Mutex] isItemNotified: received:node:cdbca1d7-4bd8-450c-9945-106b8014fad8:localhost:node-b2168e02-d6b3-401f-8c80-e8928a3394be:Node b2168e02-d6b3-401f-8c80-e8928a3394be :: true |
createSubnodes | 1.025s |
2022-06-10 22:38:45 |
2022-06-10 22:38:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:45 | ------------------------------------ 2022-06-10 22:38:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-263a909b-d85b-4b54-8b3b-fb89bcabd489</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 263a909b-d85b-4b54-8b3b-fb89bcabd489</title></pubsub></data> 2022-06-10 22:38:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-10 22:38:46 | [Mutex] waiting for: [received:nodes:f907a02e-1d3b-41a2-a6a0-5129d428cd4f:localhost] 2022-06-10 22:38:46 | [Mutex] received everything. 2022-06-10 22:38:46 | [Mutex] isItemNotified: received:node:f907a02e-1d3b-41a2-a6a0-5129d428cd4f:localhost:node-263a909b-d85b-4b54-8b3b-fb89bcabd489:Node 263a909b-d85b-4b54-8b3b-fb89bcabd489 :: true |
deleteNodes | 1.018s |
2022-06-10 22:38:52 |
2022-06-10 22:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:52 | ------------------------------------ 2022-06-10 22:38:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-263a909b-d85b-4b54-8b3b-fb89bcabd489</node></data> 2022-06-10 22:38:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-10 22:38:53 | [Mutex] waiting for: [received:nodes:8f42f7f8-2154-4e53-b270-539feb5125f6:localhost] 2022-06-10 22:38:53 | [Mutex] waiting for: [received:nodes:8f42f7f8-2154-4e53-b270-539feb5125f6:localhost] 2022-06-10 22:38:53 | [Mutex] received everything. 2022-06-10 22:38:53 | [Mutex] isItemNotified: received:node:8f42f7f8-2154-4e53-b270-539feb5125f6:localhost:node-263a909b-d85b-4b54-8b3b-fb89bcabd489:Node 263a909b-d85b-4b54-8b3b-fb89bcabd489 :: false |
deleteSubnodes | 1.127s |
2022-06-10 22:38:51 |
2022-06-10 22:38:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:51 | ------------------------------------ 2022-06-10 22:38:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b2168e02-d6b3-401f-8c80-e8928a3394be</node></data> 2022-06-10 22:38:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-10 22:38:52 | [Mutex] waiting for: [received:nodes:a4f9102c-1352-4813-9af1-423e32a2b511:localhost] 2022-06-10 22:38:52 | [Mutex] waiting for: [received:nodes:a4f9102c-1352-4813-9af1-423e32a2b511:localhost] 2022-06-10 22:38:52 | [Mutex] waiting for: [received:nodes:a4f9102c-1352-4813-9af1-423e32a2b511:localhost] 2022-06-10 22:38:52 | [Mutex] waiting for: [received:nodes:a4f9102c-1352-4813-9af1-423e32a2b511:localhost] 2022-06-10 22:38:52 | [Mutex] received everything. 2022-06-10 22:38:52 | [Mutex] isItemNotified: received:node:a4f9102c-1352-4813-9af1-423e32a2b511:localhost:node-b2168e02-d6b3-401f-8c80-e8928a3394be:Node b2168e02-d6b3-401f-8c80-e8928a3394be :: false 2022-06-10 22:38:52 | [Mutex] waiting for: [received:nodes:75b6f55d-585b-4afa-8c4e-a4ffb8006e0f:localhost] 2022-06-10 22:38:52 | [Mutex] received everything. 2022-06-10 22:38:52 | [Mutex] isItemNotified: received:node:75b6f55d-585b-4afa-8c4e-a4ffb8006e0f:localhost:node-b2168e02-d6b3-401f-8c80-e8928a3394be:Node b2168e02-d6b3-401f-8c80-e8928a3394be :: false |
publishItemsToNodes | 0.201s |
2022-06-10 22:38:49 |
2022-06-10 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:49 | ------------------------------------ 2022-06-10 22:38:49 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b2168e02-d6b3-401f-8c80-e8928a3394be</node><item-id>item-ab7d1efd-589d-4701-acfd-074aaae9a2a1</item-id><entry><test>item-ab7d1efd-589d-4701-acfd-074aaae9a2a1</test></entry></data> 2022-06-10 22:38:49 | 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-ab7d1efd-589d-4701-acfd-074aaae9a2a1</value></item-id></result> 2022-06-10 22:38:49 | [Mutex] received everything. 2022-06-10 22:38:49 | [Mutex] isItemNotified: published:item:notifieditem-ab7d1efd-589d-4701-acfd-074aaae9a2a1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.267s |
2022-06-10 22:38:49 |
2022-06-10 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:49 | ------------------------------------ 2022-06-10 22:38:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b2168e02-d6b3-401f-8c80-e8928a3394be</node><item-id>item-ab7d1efd-589d-4701-acfd-074aaae9a2a1</item-id></data> 2022-06-10 22:38:49 | 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-ab7d1efd-589d-4701-acfd-074aaae9a2a1</value></item-id></result> 2022-06-10 22:38:49 | [Mutex] received everything. 2022-06-10 22:38:49 | [Mutex] isItemNotified: retracted:item:notifieditem-ab7d1efd-589d-4701-acfd-074aaae9a2a1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.252s |
2022-06-10 22:38:49 |
2022-06-10 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:49 | ------------------------------------ 2022-06-10 22:38:49 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b2168e02-d6b3-401f-8c80-e8928a3394be</node><item-id>item-ab7d1efd-589d-4701-acfd-074aaae9a2a1</item-id></data> 2022-06-10 22:38:49 | 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-b2168e02-d6b3-401f-8c80-e8928a3394be</value></node><item-id type="text-single" label="Item ID"><value>item-ab7d1efd-589d-4701-acfd-074aaae9a2a1</value></item-id><item type="text-multi" label="Item"><value><item id="item-ab7d1efd-589d-4701-acfd-074aaae9a2a1"><test>item-ab7d1efd-589d-4701-acfd-074aaae9a2a1</test></item></value></item></result> 2022-06-10 22:38:49 | [Mutex] notify: [retrieved:item:item-ab7d1efd-589d-4701-acfd-074aaae9a2a1:payload-matches:true:localhost] 2022-06-10 22:38:49 | [Mutex] received everything. 2022-06-10 22:38:49 | [Mutex] isItemNotified: retrieved:item:item-ab7d1efd-589d-4701-acfd-074aaae9a2a1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-10 22:38:49 |
2022-06-10 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:49 | ------------------------------------ 2022-06-10 22:38:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-10 22:38:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-b2168e02-d6b3-401f-8c80-e8928a3394be</value><value>node-263a909b-d85b-4b54-8b3b-fb89bcabd489</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-10 22:38:49 |
2022-06-10 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:49 | ------------------------------------ 2022-06-10 22:38:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b2168e02-d6b3-401f-8c80-e8928a3394be)</node-pattern></data> 2022-06-10 22:38:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.152s |
2022-06-10 22:38:47 |
2022-06-10 22:38:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:47 | ------------------------------------ 2022-06-10 22:38:47 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b2168e02-d6b3-401f-8c80-e8928a3394be</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-10 22:38:48 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.195s |
2022-06-10 22:38:49 |
2022-06-10 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:38:49 | ------------------------------------ 2022-06-10 22:38:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b2168e02-d6b3-401f-8c80-e8928a3394be</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-10 22:38:50 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |