Test duration : 10.301s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.125s |
2020-12-30 21:36:08 |
2020-12-30 21:36:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:08 | ------------------------------------ 2020-12-30 21:36:08 | [Mutex] waiting for: [configured:node:node-d611d098-6b9b-401c-8fe5-a6d91afb8208:node-70787996-6de9-4403-8ed7-5413297f61b1] 2020-12-30 21:36:08 | [Mutex] received everything. 2020-12-30 21:36:08 | [Mutex] isItemNotified: configured:node:node-d611d098-6b9b-401c-8fe5-a6d91afb8208:node-70787996-6de9-4403-8ed7-5413297f61b1 :: true 2020-12-30 21:36:09 | [Mutex] waiting for: [received:nodes:976dea0a-d74e-4dd0-9a91-7af6f369960e:localhost] 2020-12-30 21:36:09 | [Mutex] received everything. 2020-12-30 21:36:09 | [Mutex] isItemNotified: received:node:976dea0a-d74e-4dd0-9a91-7af6f369960e:localhost:node-d611d098-6b9b-401c-8fe5-a6d91afb8208:Node d611d098-6b9b-401c-8fe5-a6d91afb8208 :: true 2020-12-30 21:36:09 | [Mutex] waiting for: [received:nodes:37c9785e-11dc-4b71-8cdd-21daa11aa770:localhost] 2020-12-30 21:36:09 | [Mutex] waiting for: [received:nodes:37c9785e-11dc-4b71-8cdd-21daa11aa770:localhost] 2020-12-30 21:36:09 | [Mutex] waiting for: [received:nodes:37c9785e-11dc-4b71-8cdd-21daa11aa770:localhost] 2020-12-30 21:36:09 | [Mutex] waiting for: [received:nodes:37c9785e-11dc-4b71-8cdd-21daa11aa770:localhost] 2020-12-30 21:36:09 | [Mutex] received everything. 2020-12-30 21:36:09 | [Mutex] isItemNotified: received:node:37c9785e-11dc-4b71-8cdd-21daa11aa770:localhost:node-d611d098-6b9b-401c-8fe5-a6d91afb8208:Node d611d098-6b9b-401c-8fe5-a6d91afb8208 :: false |
createNodes | 1.578s |
2020-12-30 21:36:05 |
2020-12-30 21:36:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:05 | ------------------------------------ 2020-12-30 21:36:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d611d098-6b9b-401c-8fe5-a6d91afb8208</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d611d098-6b9b-401c-8fe5-a6d91afb8208</title></pubsub></data> 2020-12-30 21:36:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-30 21:36:07 | [Mutex] waiting for: [received:nodes:15f44dc3-0aae-4eaa-b5de-bc145d7dc356:localhost] 2020-12-30 21:36:07 | [Mutex] received everything. 2020-12-30 21:36:07 | [Mutex] isItemNotified: received:node:15f44dc3-0aae-4eaa-b5de-bc145d7dc356:localhost:node-d611d098-6b9b-401c-8fe5-a6d91afb8208:Node d611d098-6b9b-401c-8fe5-a6d91afb8208 :: true |
createSubnodes | 1.040s |
2020-12-30 21:36:07 |
2020-12-30 21:36:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:07 | ------------------------------------ 2020-12-30 21:36:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-70787996-6de9-4403-8ed7-5413297f61b1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 70787996-6de9-4403-8ed7-5413297f61b1</title></pubsub></data> 2020-12-30 21:36:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-30 21:36:08 | [Mutex] waiting for: [received:nodes:ef06bddf-6939-4f0b-b355-6f243903de5d:localhost] 2020-12-30 21:36:08 | [Mutex] received everything. 2020-12-30 21:36:08 | [Mutex] isItemNotified: received:node:ef06bddf-6939-4f0b-b355-6f243903de5d:localhost:node-70787996-6de9-4403-8ed7-5413297f61b1:Node 70787996-6de9-4403-8ed7-5413297f61b1 :: true |
deleteNodes | 1.025s |
2020-12-30 21:36:13 |
2020-12-30 21:36:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:13 | ------------------------------------ 2020-12-30 21:36:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-70787996-6de9-4403-8ed7-5413297f61b1</node></data> 2020-12-30 21:36:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-30 21:36:14 | [Mutex] waiting for: [received:nodes:6829978b-db9c-480a-a3cb-125ecf695a2c:localhost] 2020-12-30 21:36:14 | [Mutex] received everything. 2020-12-30 21:36:14 | [Mutex] isItemNotified: received:node:6829978b-db9c-480a-a3cb-125ecf695a2c:localhost:node-70787996-6de9-4403-8ed7-5413297f61b1:Node 70787996-6de9-4403-8ed7-5413297f61b1 :: false |
deleteSubnodes | 1.159s |
2020-12-30 21:36:12 |
2020-12-30 21:36:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:12 | ------------------------------------ 2020-12-30 21:36:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d611d098-6b9b-401c-8fe5-a6d91afb8208</node></data> 2020-12-30 21:36:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-30 21:36:13 | [Mutex] waiting for: [received:nodes:34c33d51-55e0-4594-966d-779a83e43e8a:localhost] 2020-12-30 21:36:13 | [Mutex] waiting for: [received:nodes:34c33d51-55e0-4594-966d-779a83e43e8a:localhost] 2020-12-30 21:36:13 | [Mutex] received everything. 2020-12-30 21:36:13 | [Mutex] isItemNotified: received:node:34c33d51-55e0-4594-966d-779a83e43e8a:localhost:node-d611d098-6b9b-401c-8fe5-a6d91afb8208:Node d611d098-6b9b-401c-8fe5-a6d91afb8208 :: false 2020-12-30 21:36:13 | [Mutex] waiting for: [received:nodes:1f800de2-adf9-40b1-a2d3-4427f0868e58:localhost] 2020-12-30 21:36:13 | [Mutex] received everything. 2020-12-30 21:36:13 | [Mutex] isItemNotified: received:node:1f800de2-adf9-40b1-a2d3-4427f0868e58:localhost:node-d611d098-6b9b-401c-8fe5-a6d91afb8208:Node d611d098-6b9b-401c-8fe5-a6d91afb8208 :: false |
publishItemsToNodes | 0.238s |
2020-12-30 21:36:10 |
2020-12-30 21:36:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:10 | ------------------------------------ 2020-12-30 21:36:10 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d611d098-6b9b-401c-8fe5-a6d91afb8208</node><item-id>item-a052bb50-51ed-436e-9e17-d10e5a5a4ef3</item-id><entry><test>item-a052bb50-51ed-436e-9e17-d10e5a5a4ef3</test></entry></data> 2020-12-30 21:36:10 | 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-a052bb50-51ed-436e-9e17-d10e5a5a4ef3</value></item-id></result> 2020-12-30 21:36:10 | [Mutex] waiting for: [published:item:notifieditem-a052bb50-51ed-436e-9e17-d10e5a5a4ef3:admin@test-domain.com] 2020-12-30 21:36:10 | [Mutex] received everything. 2020-12-30 21:36:10 | [Mutex] isItemNotified: published:item:notifieditem-a052bb50-51ed-436e-9e17-d10e5a5a4ef3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.289s |
2020-12-30 21:36:11 |
2020-12-30 21:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:11 | ------------------------------------ 2020-12-30 21:36:11 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d611d098-6b9b-401c-8fe5-a6d91afb8208</node><item-id>item-a052bb50-51ed-436e-9e17-d10e5a5a4ef3</item-id></data> 2020-12-30 21:36:11 | 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-a052bb50-51ed-436e-9e17-d10e5a5a4ef3</value></item-id></result> 2020-12-30 21:36:11 | [Mutex] received everything. 2020-12-30 21:36:11 | [Mutex] isItemNotified: retracted:item:notifieditem-a052bb50-51ed-436e-9e17-d10e5a5a4ef3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.288s |
2020-12-30 21:36:10 |
2020-12-30 21:36:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:10 | ------------------------------------ 2020-12-30 21:36:10 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d611d098-6b9b-401c-8fe5-a6d91afb8208</node><item-id>item-a052bb50-51ed-436e-9e17-d10e5a5a4ef3</item-id></data> 2020-12-30 21:36:11 | 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-d611d098-6b9b-401c-8fe5-a6d91afb8208</value></node><item-id label="Item ID" type="text-single"><value>item-a052bb50-51ed-436e-9e17-d10e5a5a4ef3</value></item-id><item label="Item" type="text-multi"><value><item id="item-a052bb50-51ed-436e-9e17-d10e5a5a4ef3"><test>item-a052bb50-51ed-436e-9e17-d10e5a5a4ef3</test></item></value></item></result> 2020-12-30 21:36:11 | [Mutex] notify: [retrieved:item:item-a052bb50-51ed-436e-9e17-d10e5a5a4ef3:payload-matches:true:localhost] 2020-12-30 21:36:11 | [Mutex] received everything. 2020-12-30 21:36:11 | [Mutex] isItemNotified: retrieved:item:item-a052bb50-51ed-436e-9e17-d10e5a5a4ef3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2020-12-30 21:36:11 |
2020-12-30 21:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:11 | ------------------------------------ 2020-12-30 21:36:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-12-30 21:36:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-d611d098-6b9b-401c-8fe5-a6d91afb8208</value><value>test</value><value>node-70787996-6de9-4403-8ed7-5413297f61b1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2020-12-30 21:36:11 |
2020-12-30 21:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:11 | ------------------------------------ 2020-12-30 21:36:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d611d098-6b9b-401c-8fe5-a6d91afb8208)</node-pattern></data> 2020-12-30 21:36:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.103s |
2020-12-30 21:36:09 |
2020-12-30 21:36:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:09 | ------------------------------------ 2020-12-30 21:36:09 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d611d098-6b9b-401c-8fe5-a6d91afb8208</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-30 21:36:09 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.265s |
2020-12-30 21:36:11 |
2020-12-30 21:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 21:36:11 | ------------------------------------ 2020-12-30 21:36:11 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d611d098-6b9b-401c-8fe5-a6d91afb8208</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-30 21:36:11 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |