Test duration : 10.449s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.124s |
2021-05-09 22:59:40 |
2021-05-09 22:59:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:40 | ------------------------------------ 2021-05-09 22:59:40 | [Mutex] waiting for: [configured:node:node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd:node-99e0b9f5-185f-45c7-89d8-04dd839132b8] 2021-05-09 22:59:40 | [Mutex] received everything. 2021-05-09 22:59:40 | [Mutex] isItemNotified: configured:node:node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd:node-99e0b9f5-185f-45c7-89d8-04dd839132b8 :: true 2021-05-09 22:59:41 | [Mutex] waiting for: [received:nodes:fcc1fe8d-bcb2-4f0b-9d9b-686688fa6036:localhost] 2021-05-09 22:59:41 | [Mutex] received everything. 2021-05-09 22:59:41 | [Mutex] isItemNotified: received:node:fcc1fe8d-bcb2-4f0b-9d9b-686688fa6036:localhost:node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd:Node 5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd :: true 2021-05-09 22:59:41 | [Mutex] waiting for: [received:nodes:bc5e01d4-c30b-402d-b5b3-5f6149b585f2:localhost] 2021-05-09 22:59:41 | [Mutex] received everything. 2021-05-09 22:59:41 | [Mutex] isItemNotified: received:node:bc5e01d4-c30b-402d-b5b3-5f6149b585f2:localhost:node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd:Node 5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd :: false |
createNodes | 1.641s |
2021-05-09 22:59:38 |
2021-05-09 22:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:38 | ------------------------------------ 2021-05-09 22:59:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd</title></pubsub></data> 2021-05-09 22:59:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-09 22:59:39 | [Mutex] waiting for: [received:nodes:ca90c90b-8a6f-49d8-87fb-2ef0182db40d:localhost] 2021-05-09 22:59:39 | [Mutex] received everything. 2021-05-09 22:59:39 | [Mutex] isItemNotified: received:node:ca90c90b-8a6f-49d8-87fb-2ef0182db40d:localhost:node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd:Node 5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd :: true |
createSubnodes | 1.032s |
2021-05-09 22:59:39 |
2021-05-09 22:59:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:39 | ------------------------------------ 2021-05-09 22:59:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-99e0b9f5-185f-45c7-89d8-04dd839132b8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 99e0b9f5-185f-45c7-89d8-04dd839132b8</title></pubsub></data> 2021-05-09 22:59:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-09 22:59:40 | [Mutex] waiting for: [received:nodes:b3afa337-5284-4a30-8064-c30ff613c3f7:localhost] 2021-05-09 22:59:40 | [Mutex] received everything. 2021-05-09 22:59:40 | [Mutex] isItemNotified: received:node:b3afa337-5284-4a30-8064-c30ff613c3f7:localhost:node-99e0b9f5-185f-45c7-89d8-04dd839132b8:Node 99e0b9f5-185f-45c7-89d8-04dd839132b8 :: true |
deleteNodes | 1.026s |
2021-05-09 22:59:46 |
2021-05-09 22:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:46 | ------------------------------------ 2021-05-09 22:59:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-99e0b9f5-185f-45c7-89d8-04dd839132b8</node></data> 2021-05-09 22:59:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-09 22:59:47 | [Mutex] waiting for: [received:nodes:e962c247-f431-4116-a08f-767ff44477fc:localhost] 2021-05-09 22:59:47 | [Mutex] received everything. 2021-05-09 22:59:47 | [Mutex] isItemNotified: received:node:e962c247-f431-4116-a08f-767ff44477fc:localhost:node-99e0b9f5-185f-45c7-89d8-04dd839132b8:Node 99e0b9f5-185f-45c7-89d8-04dd839132b8 :: false |
deleteSubnodes | 1.157s |
2021-05-09 22:59:45 |
2021-05-09 22:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:45 | ------------------------------------ 2021-05-09 22:59:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd</node></data> 2021-05-09 22:59:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-09 22:59:46 | [Mutex] waiting for: [received:nodes:85d62cfa-793e-46cf-9f1f-8b5ea818413b:localhost] 2021-05-09 22:59:46 | [Mutex] waiting for: [received:nodes:85d62cfa-793e-46cf-9f1f-8b5ea818413b:localhost] 2021-05-09 22:59:46 | [Mutex] received everything. 2021-05-09 22:59:46 | [Mutex] isItemNotified: received:node:85d62cfa-793e-46cf-9f1f-8b5ea818413b:localhost:node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd:Node 5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd :: false 2021-05-09 22:59:46 | [Mutex] waiting for: [received:nodes:40393e90-7f21-4484-abf5-74e3495fef78:localhost] 2021-05-09 22:59:46 | [Mutex] received everything. 2021-05-09 22:59:46 | [Mutex] isItemNotified: received:node:40393e90-7f21-4484-abf5-74e3495fef78:localhost:node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd:Node 5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd :: false |
publishItemsToNodes | 0.306s |
2021-05-09 22:59:43 |
2021-05-09 22:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:43 | ------------------------------------ 2021-05-09 22:59:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd</node><item-id>item-d9ab7657-b3a7-4023-90b3-b3d65ad7c971</item-id><entry><test>item-d9ab7657-b3a7-4023-90b3-b3d65ad7c971</test></entry></data> 2021-05-09 22:59:43 | 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-d9ab7657-b3a7-4023-90b3-b3d65ad7c971</value></item-id></result> 2021-05-09 22:59:43 | [Mutex] waiting for: [published:item:notifieditem-d9ab7657-b3a7-4023-90b3-b3d65ad7c971:admin@test-domain.com] 2021-05-09 22:59:43 | [Mutex] received everything. 2021-05-09 22:59:43 | [Mutex] isItemNotified: published:item:notifieditem-d9ab7657-b3a7-4023-90b3-b3d65ad7c971:admin@test-domain.com :: true |
retractItemsFromNodes | 0.299s |
2021-05-09 22:59:43 |
2021-05-09 22:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:43 | ------------------------------------ 2021-05-09 22:59:43 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd</node><item-id>item-d9ab7657-b3a7-4023-90b3-b3d65ad7c971</item-id></data> 2021-05-09 22:59:44 | 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-d9ab7657-b3a7-4023-90b3-b3d65ad7c971</value></item-id></result> 2021-05-09 22:59:44 | [Mutex] received everything. 2021-05-09 22:59:44 | [Mutex] isItemNotified: retracted:item:notifieditem-d9ab7657-b3a7-4023-90b3-b3d65ad7c971:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.327s |
2021-05-09 22:59:43 |
2021-05-09 22:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:43 | ------------------------------------ 2021-05-09 22:59:43 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd</node><item-id>item-d9ab7657-b3a7-4023-90b3-b3d65ad7c971</item-id></data> 2021-05-09 22:59:43 | 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-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd</value></node><item-id label="Item ID" type="text-single"><value>item-d9ab7657-b3a7-4023-90b3-b3d65ad7c971</value></item-id><item label="Item" type="text-multi"><value><item id="item-d9ab7657-b3a7-4023-90b3-b3d65ad7c971"><test>item-d9ab7657-b3a7-4023-90b3-b3d65ad7c971</test></item></value></item></result> 2021-05-09 22:59:43 | [Mutex] notify: [retrieved:item:item-d9ab7657-b3a7-4023-90b3-b3d65ad7c971:payload-matches:true:localhost] 2021-05-09 22:59:43 | [Mutex] received everything. 2021-05-09 22:59:43 | [Mutex] isItemNotified: retrieved:item:item-d9ab7657-b3a7-4023-90b3-b3d65ad7c971:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.059s |
2021-05-09 22:59:43 |
2021-05-09 22:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:43 | ------------------------------------ 2021-05-09 22:59:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-09 22:59:43 | 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-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd</value><value>node-99e0b9f5-185f-45c7-89d8-04dd839132b8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-05-09 22:59:43 |
2021-05-09 22:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:43 | ------------------------------------ 2021-05-09 22:59:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd)</node-pattern></data> 2021-05-09 22:59:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.156s |
2021-05-09 22:59:41 |
2021-05-09 22:59:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:41 | ------------------------------------ 2021-05-09 22:59:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-09 22:59:42 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.299s |
2021-05-09 22:59:44 |
2021-05-09 22:59:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:59:44 | ------------------------------------ 2021-05-09 22:59:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5b9d7e9e-62ff-4ca5-a2eb-94b1dca375bd</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-09 22:59:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |