Test duration : 9.567s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.029s |
2022-05-24 23:15:07 |
2022-05-24 23:15:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:07 | ------------------------------------ 2022-05-24 23:15:07 | [Mutex] waiting for: [configured:node:node-cb7b0e51-3e83-4085-9791-88f88f880e53:node-2713be02-f269-4225-b54b-87667d14f79d] 2022-05-24 23:15:07 | [Mutex] received everything. 2022-05-24 23:15:07 | [Mutex] isItemNotified: configured:node:node-cb7b0e51-3e83-4085-9791-88f88f880e53:node-2713be02-f269-4225-b54b-87667d14f79d :: true 2022-05-24 23:15:08 | [Mutex] waiting for: [received:nodes:f57ed6e3-a90c-4fef-a923-6284f9e98880:localhost] 2022-05-24 23:15:08 | [Mutex] received everything. 2022-05-24 23:15:08 | [Mutex] isItemNotified: received:node:f57ed6e3-a90c-4fef-a923-6284f9e98880:localhost:node-cb7b0e51-3e83-4085-9791-88f88f880e53:Node cb7b0e51-3e83-4085-9791-88f88f880e53 :: true 2022-05-24 23:15:08 | [Mutex] waiting for: [received:nodes:b31de109-a8a8-4527-874f-f0abf693a3d1:localhost] 2022-05-24 23:15:08 | [Mutex] waiting for: [received:nodes:b31de109-a8a8-4527-874f-f0abf693a3d1:localhost] 2022-05-24 23:15:08 | [Mutex] received everything. 2022-05-24 23:15:08 | [Mutex] isItemNotified: received:node:b31de109-a8a8-4527-874f-f0abf693a3d1:localhost:node-cb7b0e51-3e83-4085-9791-88f88f880e53:Node cb7b0e51-3e83-4085-9791-88f88f880e53 :: false |
createNodes | 1.457s |
2022-05-24 23:15:05 |
2022-05-24 23:15:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:05 | ------------------------------------ 2022-05-24 23:15:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cb7b0e51-3e83-4085-9791-88f88f880e53</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cb7b0e51-3e83-4085-9791-88f88f880e53</title></pubsub></data> 2022-05-24 23:15:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 23:15:06 | [Mutex] waiting for: [received:nodes:c1ab9a2c-6f24-4833-a82b-1337424adbe1:localhost] 2022-05-24 23:15:06 | [Mutex] received everything. 2022-05-24 23:15:06 | [Mutex] isItemNotified: received:node:c1ab9a2c-6f24-4833-a82b-1337424adbe1:localhost:node-cb7b0e51-3e83-4085-9791-88f88f880e53:Node cb7b0e51-3e83-4085-9791-88f88f880e53 :: true |
createSubnodes | 1.024s |
2022-05-24 23:15:06 |
2022-05-24 23:15:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:06 | ------------------------------------ 2022-05-24 23:15:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2713be02-f269-4225-b54b-87667d14f79d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2713be02-f269-4225-b54b-87667d14f79d</title></pubsub></data> 2022-05-24 23:15:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 23:15:07 | [Mutex] waiting for: [received:nodes:e6a919dd-302b-466c-9b6e-9c7e148ebc80:localhost] 2022-05-24 23:15:07 | [Mutex] waiting for: [received:nodes:e6a919dd-302b-466c-9b6e-9c7e148ebc80:localhost] 2022-05-24 23:15:07 | [Mutex] received everything. 2022-05-24 23:15:07 | [Mutex] isItemNotified: received:node:e6a919dd-302b-466c-9b6e-9c7e148ebc80:localhost:node-2713be02-f269-4225-b54b-87667d14f79d:Node 2713be02-f269-4225-b54b-87667d14f79d :: true |
deleteNodes | 1.017s |
2022-05-24 23:15:13 |
2022-05-24 23:15:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:13 | ------------------------------------ 2022-05-24 23:15:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2713be02-f269-4225-b54b-87667d14f79d</node></data> 2022-05-24 23:15:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 23:15:14 | [Mutex] waiting for: [received:nodes:91aca5a3-bec3-448e-b37c-2457c6583f4d:localhost] 2022-05-24 23:15:14 | [Mutex] received everything. 2022-05-24 23:15:14 | [Mutex] isItemNotified: received:node:91aca5a3-bec3-448e-b37c-2457c6583f4d:localhost:node-2713be02-f269-4225-b54b-87667d14f79d:Node 2713be02-f269-4225-b54b-87667d14f79d :: false |
deleteSubnodes | 1.154s |
2022-05-24 23:15:12 |
2022-05-24 23:15:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:12 | ------------------------------------ 2022-05-24 23:15:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cb7b0e51-3e83-4085-9791-88f88f880e53</node></data> 2022-05-24 23:15:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 23:15:13 | [Mutex] waiting for: [received:nodes:40e8b295-8f05-4af2-a967-d1314dc27d7e:localhost] 2022-05-24 23:15:13 | [Mutex] waiting for: [received:nodes:40e8b295-8f05-4af2-a967-d1314dc27d7e:localhost] 2022-05-24 23:15:13 | [Mutex] received everything. 2022-05-24 23:15:13 | [Mutex] isItemNotified: received:node:40e8b295-8f05-4af2-a967-d1314dc27d7e:localhost:node-cb7b0e51-3e83-4085-9791-88f88f880e53:Node cb7b0e51-3e83-4085-9791-88f88f880e53 :: false 2022-05-24 23:15:13 | [Mutex] waiting for: [received:nodes:a2bf522e-a3cd-452d-ad91-423e2b39f4ca:localhost] 2022-05-24 23:15:13 | [Mutex] received everything. 2022-05-24 23:15:13 | [Mutex] isItemNotified: received:node:a2bf522e-a3cd-452d-ad91-423e2b39f4ca:localhost:node-cb7b0e51-3e83-4085-9791-88f88f880e53:Node cb7b0e51-3e83-4085-9791-88f88f880e53 :: false |
publishItemsToNodes | 0.248s |
2022-05-24 23:15:09 |
2022-05-24 23:15:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:09 | ------------------------------------ 2022-05-24 23:15:09 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-cb7b0e51-3e83-4085-9791-88f88f880e53</node><item-id>item-d1d98dc6-2dae-4d30-ba47-2bf6d939d598</item-id><entry><test>item-d1d98dc6-2dae-4d30-ba47-2bf6d939d598</test></entry></data> 2022-05-24 23:15: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-d1d98dc6-2dae-4d30-ba47-2bf6d939d598</value></item-id></result> 2022-05-24 23:15:10 | [Mutex] received everything. 2022-05-24 23:15:10 | [Mutex] isItemNotified: published:item:notifieditem-d1d98dc6-2dae-4d30-ba47-2bf6d939d598:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2022-05-24 23:15:10 |
2022-05-24 23:15:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:10 | ------------------------------------ 2022-05-24 23:15:10 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-cb7b0e51-3e83-4085-9791-88f88f880e53</node><item-id>item-d1d98dc6-2dae-4d30-ba47-2bf6d939d598</item-id></data> 2022-05-24 23:15:10 | 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-d1d98dc6-2dae-4d30-ba47-2bf6d939d598</value></item-id></result> 2022-05-24 23:15:10 | [Mutex] received everything. 2022-05-24 23:15:10 | [Mutex] isItemNotified: retracted:item:notifieditem-d1d98dc6-2dae-4d30-ba47-2bf6d939d598:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.202s |
2022-05-24 23:15:10 |
2022-05-24 23:15:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:10 | ------------------------------------ 2022-05-24 23:15:10 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-cb7b0e51-3e83-4085-9791-88f88f880e53</node><item-id>item-d1d98dc6-2dae-4d30-ba47-2bf6d939d598</item-id></data> 2022-05-24 23:15:10 | 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-cb7b0e51-3e83-4085-9791-88f88f880e53</value></node><item-id label="Item ID" type="text-single"><value>item-d1d98dc6-2dae-4d30-ba47-2bf6d939d598</value></item-id><item label="Item" type="text-multi"><value><item id="item-d1d98dc6-2dae-4d30-ba47-2bf6d939d598"><test>item-d1d98dc6-2dae-4d30-ba47-2bf6d939d598</test></item></value></item></result> 2022-05-24 23:15:10 | [Mutex] notify: [retrieved:item:item-d1d98dc6-2dae-4d30-ba47-2bf6d939d598:payload-matches:true:localhost] 2022-05-24 23:15:10 | [Mutex] received everything. 2022-05-24 23:15:10 | [Mutex] isItemNotified: retrieved:item:item-d1d98dc6-2dae-4d30-ba47-2bf6d939d598:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-24 23:15:10 |
2022-05-24 23:15:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:10 | ------------------------------------ 2022-05-24 23:15:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-24 23:15:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-cb7b0e51-3e83-4085-9791-88f88f880e53</value><value>node-2713be02-f269-4225-b54b-87667d14f79d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-05-24 23:15:10 |
2022-05-24 23:15:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:10 | ------------------------------------ 2022-05-24 23:15:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cb7b0e51-3e83-4085-9791-88f88f880e53)</node-pattern></data> 2022-05-24 23:15:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.131s |
2022-05-24 23:15:08 |
2022-05-24 23:15:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:08 | ------------------------------------ 2022-05-24 23:15:08 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-cb7b0e51-3e83-4085-9791-88f88f880e53</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-24 23:15:08 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.229s |
2022-05-24 23:15:10 |
2022-05-24 23:15:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 23:15:10 | ------------------------------------ 2022-05-24 23:15:10 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-cb7b0e51-3e83-4085-9791-88f88f880e53</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-24 23:15:11 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |