Test duration : 10.795s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.134s |
2021-01-27 05:43:23 |
2021-01-27 05:43:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:23 | ------------------------------------ 2021-01-27 05:43:23 | [Mutex] waiting for: [configured:node:node-2d2d8646-455f-4281-a22b-feff89f0a831:node-75ae0f87-a963-406d-9504-4546ffdc8d4d] 2021-01-27 05:43:23 | [Mutex] received everything. 2021-01-27 05:43:23 | [Mutex] isItemNotified: configured:node:node-2d2d8646-455f-4281-a22b-feff89f0a831:node-75ae0f87-a963-406d-9504-4546ffdc8d4d :: true 2021-01-27 05:43:24 | [Mutex] waiting for: [received:nodes:f04b6a4c-2879-45f1-8523-537d9ffad9e5:localhost] 2021-01-27 05:43:24 | [Mutex] received everything. 2021-01-27 05:43:24 | [Mutex] isItemNotified: received:node:f04b6a4c-2879-45f1-8523-537d9ffad9e5:localhost:node-2d2d8646-455f-4281-a22b-feff89f0a831:Node 2d2d8646-455f-4281-a22b-feff89f0a831 :: true 2021-01-27 05:43:24 | [Mutex] waiting for: [received:nodes:ce9efc05-baff-4c16-b23d-2d9240cfcd8a:localhost] 2021-01-27 05:43:24 | [Mutex] waiting for: [received:nodes:ce9efc05-baff-4c16-b23d-2d9240cfcd8a:localhost] 2021-01-27 05:43:24 | [Mutex] received everything. 2021-01-27 05:43:24 | [Mutex] isItemNotified: received:node:ce9efc05-baff-4c16-b23d-2d9240cfcd8a:localhost:node-2d2d8646-455f-4281-a22b-feff89f0a831:Node 2d2d8646-455f-4281-a22b-feff89f0a831 :: false |
createNodes | 1.595s |
2021-01-27 05:43:20 |
2021-01-27 05:43:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:20 | ------------------------------------ 2021-01-27 05:43:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2d2d8646-455f-4281-a22b-feff89f0a831</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2d2d8646-455f-4281-a22b-feff89f0a831</title></pubsub></data> 2021-01-27 05:43:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 05:43:22 | [Mutex] waiting for: [received:nodes:63635792-ce08-4f25-a6b5-1b6c999e9cd3:localhost] 2021-01-27 05:43:22 | [Mutex] received everything. 2021-01-27 05:43:22 | [Mutex] isItemNotified: received:node:63635792-ce08-4f25-a6b5-1b6c999e9cd3:localhost:node-2d2d8646-455f-4281-a22b-feff89f0a831:Node 2d2d8646-455f-4281-a22b-feff89f0a831 :: true |
createSubnodes | 1.029s |
2021-01-27 05:43:22 |
2021-01-27 05:43:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:22 | ------------------------------------ 2021-01-27 05:43:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-75ae0f87-a963-406d-9504-4546ffdc8d4d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 75ae0f87-a963-406d-9504-4546ffdc8d4d</title></pubsub></data> 2021-01-27 05:43:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 05:43:23 | [Mutex] waiting for: [received:nodes:3671daed-590d-4894-87ac-d0f74a6a2cdb:localhost] 2021-01-27 05:43:23 | [Mutex] waiting for: [received:nodes:3671daed-590d-4894-87ac-d0f74a6a2cdb:localhost] 2021-01-27 05:43:23 | [Mutex] received everything. 2021-01-27 05:43:23 | [Mutex] isItemNotified: received:node:3671daed-590d-4894-87ac-d0f74a6a2cdb:localhost:node-75ae0f87-a963-406d-9504-4546ffdc8d4d:Node 75ae0f87-a963-406d-9504-4546ffdc8d4d :: true |
deleteNodes | 1.020s |
2021-01-27 05:43:29 |
2021-01-27 05:43:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:29 | ------------------------------------ 2021-01-27 05:43:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-75ae0f87-a963-406d-9504-4546ffdc8d4d</node></data> 2021-01-27 05:43:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 05:43:30 | [Mutex] waiting for: [received:nodes:6244e51b-043d-42af-b7cb-b119ca06e946:localhost] 2021-01-27 05:43:30 | [Mutex] received everything. 2021-01-27 05:43:30 | [Mutex] isItemNotified: received:node:6244e51b-043d-42af-b7cb-b119ca06e946:localhost:node-75ae0f87-a963-406d-9504-4546ffdc8d4d:Node 75ae0f87-a963-406d-9504-4546ffdc8d4d :: false |
deleteSubnodes | 1.203s |
2021-01-27 05:43:27 |
2021-01-27 05:43:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:27 | ------------------------------------ 2021-01-27 05:43:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2d2d8646-455f-4281-a22b-feff89f0a831</node></data> 2021-01-27 05:43:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 05:43:29 | [Mutex] waiting for: [received:nodes:c1189fb2-1bee-49ea-b177-aa671f8eac53:localhost] 2021-01-27 05:43:29 | [Mutex] received everything. 2021-01-27 05:43:29 | [Mutex] isItemNotified: received:node:c1189fb2-1bee-49ea-b177-aa671f8eac53:localhost:node-2d2d8646-455f-4281-a22b-feff89f0a831:Node 2d2d8646-455f-4281-a22b-feff89f0a831 :: false 2021-01-27 05:43:29 | [Mutex] waiting for: [received:nodes:0e1022da-b38f-4cbd-abec-dc27fa121ba4:localhost] 2021-01-27 05:43:29 | [Mutex] received everything. 2021-01-27 05:43:29 | [Mutex] isItemNotified: received:node:0e1022da-b38f-4cbd-abec-dc27fa121ba4:localhost:node-2d2d8646-455f-4281-a22b-feff89f0a831:Node 2d2d8646-455f-4281-a22b-feff89f0a831 :: false |
publishItemsToNodes | 0.273s |
2021-01-27 05:43:25 |
2021-01-27 05:43:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:25 | ------------------------------------ 2021-01-27 05:43:25 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2d2d8646-455f-4281-a22b-feff89f0a831</node><item-id>item-a9d2589f-1f36-4c2f-80c3-5a453266b79e</item-id><entry><test>item-a9d2589f-1f36-4c2f-80c3-5a453266b79e</test></entry></data> 2021-01-27 05:43:25 | 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-a9d2589f-1f36-4c2f-80c3-5a453266b79e</value></item-id></result> 2021-01-27 05:43:25 | [Mutex] waiting for: [published:item:notifieditem-a9d2589f-1f36-4c2f-80c3-5a453266b79e:admin@test-domain.com] 2021-01-27 05:43:25 | [Mutex] received everything. 2021-01-27 05:43:25 | [Mutex] isItemNotified: published:item:notifieditem-a9d2589f-1f36-4c2f-80c3-5a453266b79e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.410s |
2021-01-27 05:43:26 |
2021-01-27 05:43:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:26 | ------------------------------------ 2021-01-27 05:43:26 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2d2d8646-455f-4281-a22b-feff89f0a831</node><item-id>item-a9d2589f-1f36-4c2f-80c3-5a453266b79e</item-id></data> 2021-01-27 05:43:26 | 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-a9d2589f-1f36-4c2f-80c3-5a453266b79e</value></item-id></result> 2021-01-27 05:43:26 | [Mutex] waiting for: [retracted:item:notifieditem-a9d2589f-1f36-4c2f-80c3-5a453266b79e:admin@test-domain.com] 2021-01-27 05:43:26 | [Mutex] received everything. 2021-01-27 05:43:26 | [Mutex] isItemNotified: retracted:item:notifieditem-a9d2589f-1f36-4c2f-80c3-5a453266b79e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.270s |
2021-01-27 05:43:25 |
2021-01-27 05:43:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:25 | ------------------------------------ 2021-01-27 05:43:25 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2d2d8646-455f-4281-a22b-feff89f0a831</node><item-id>item-a9d2589f-1f36-4c2f-80c3-5a453266b79e</item-id></data> 2021-01-27 05:43:26 | 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-2d2d8646-455f-4281-a22b-feff89f0a831</value></node><item-id label="Item ID" type="text-single"><value>item-a9d2589f-1f36-4c2f-80c3-5a453266b79e</value></item-id><item label="Item" type="text-multi"><value><item id="item-a9d2589f-1f36-4c2f-80c3-5a453266b79e"><test>item-a9d2589f-1f36-4c2f-80c3-5a453266b79e</test></item></value></item></result> 2021-01-27 05:43:26 | [Mutex] notify: [retrieved:item:item-a9d2589f-1f36-4c2f-80c3-5a453266b79e:payload-matches:true:localhost] 2021-01-27 05:43:26 | [Mutex] received everything. 2021-01-27 05:43:26 | [Mutex] isItemNotified: retrieved:item:item-a9d2589f-1f36-4c2f-80c3-5a453266b79e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.059s |
2021-01-27 05:43:26 |
2021-01-27 05:43:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:26 | ------------------------------------ 2021-01-27 05:43:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-27 05:43:26 | 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-2d2d8646-455f-4281-a22b-feff89f0a831</value><value>node-75ae0f87-a963-406d-9504-4546ffdc8d4d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-01-27 05:43:26 |
2021-01-27 05:43:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:26 | ------------------------------------ 2021-01-27 05:43:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2d2d8646-455f-4281-a22b-feff89f0a831)</node-pattern></data> 2021-01-27 05:43:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.180s |
2021-01-27 05:43:24 |
2021-01-27 05:43:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:24 | ------------------------------------ 2021-01-27 05:43:24 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2d2d8646-455f-4281-a22b-feff89f0a831</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-27 05:43:24 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.382s |
2021-01-27 05:43:26 |
2021-01-27 05:43:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 05:43:26 | ------------------------------------ 2021-01-27 05:43:26 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2d2d8646-455f-4281-a22b-feff89f0a831</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-27 05:43:26 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |