Test duration : 10.405s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.136s |
2022-02-08 22:07:25 |
2022-02-08 22:07:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:25 | ------------------------------------ 2022-02-08 22:07:25 | [Mutex] waiting for: [configured:node:node-a7abec95-c3b3-454d-a5fe-f7e771502026:node-14248f05-0297-4145-92d7-a7405befc45a] 2022-02-08 22:07:25 | [Mutex] received everything. 2022-02-08 22:07:25 | [Mutex] isItemNotified: configured:node:node-a7abec95-c3b3-454d-a5fe-f7e771502026:node-14248f05-0297-4145-92d7-a7405befc45a :: true 2022-02-08 22:07:26 | [Mutex] waiting for: [received:nodes:a1af0b87-6389-4cb6-b8d3-61c7aba274d5:localhost] 2022-02-08 22:07:26 | [Mutex] received everything. 2022-02-08 22:07:26 | [Mutex] isItemNotified: received:node:a1af0b87-6389-4cb6-b8d3-61c7aba274d5:localhost:node-a7abec95-c3b3-454d-a5fe-f7e771502026:Node a7abec95-c3b3-454d-a5fe-f7e771502026 :: true 2022-02-08 22:07:26 | [Mutex] waiting for: [received:nodes:fb953cb5-e2a6-4da5-abb3-915b0b82b057:localhost] 2022-02-08 22:07:26 | [Mutex] received everything. 2022-02-08 22:07:26 | [Mutex] isItemNotified: received:node:fb953cb5-e2a6-4da5-abb3-915b0b82b057:localhost:node-a7abec95-c3b3-454d-a5fe-f7e771502026:Node a7abec95-c3b3-454d-a5fe-f7e771502026 :: false |
createNodes | 1.640s |
2022-02-08 22:07:22 |
2022-02-08 22:07:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:22 | ------------------------------------ 2022-02-08 22:07:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a7abec95-c3b3-454d-a5fe-f7e771502026</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a7abec95-c3b3-454d-a5fe-f7e771502026</title></pubsub></data> 2022-02-08 22:07:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 22:07:24 | [Mutex] waiting for: [received:nodes:1523dcf1-095f-4456-a032-cd0b27ab6c37:localhost] 2022-02-08 22:07:24 | [Mutex] received everything. 2022-02-08 22:07:24 | [Mutex] isItemNotified: received:node:1523dcf1-095f-4456-a032-cd0b27ab6c37:localhost:node-a7abec95-c3b3-454d-a5fe-f7e771502026:Node a7abec95-c3b3-454d-a5fe-f7e771502026 :: true |
createSubnodes | 1.036s |
2022-02-08 22:07:24 |
2022-02-08 22:07:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:24 | ------------------------------------ 2022-02-08 22:07:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-14248f05-0297-4145-92d7-a7405befc45a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 14248f05-0297-4145-92d7-a7405befc45a</title></pubsub></data> 2022-02-08 22:07:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 22:07:25 | [Mutex] waiting for: [received:nodes:b8b7255d-134b-427f-9082-66eaa98ebcf6:localhost] 2022-02-08 22:07:25 | [Mutex] received everything. 2022-02-08 22:07:25 | [Mutex] isItemNotified: received:node:b8b7255d-134b-427f-9082-66eaa98ebcf6:localhost:node-14248f05-0297-4145-92d7-a7405befc45a:Node 14248f05-0297-4145-92d7-a7405befc45a :: true |
deleteNodes | 1.026s |
2022-02-08 22:07:31 |
2022-02-08 22:07:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:31 | ------------------------------------ 2022-02-08 22:07:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-14248f05-0297-4145-92d7-a7405befc45a</node></data> 2022-02-08 22:07:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 22:07:32 | [Mutex] waiting for: [received:nodes:a71629e6-3961-4048-b8ea-268f90e762b9:localhost] 2022-02-08 22:07:32 | [Mutex] received everything. 2022-02-08 22:07:32 | [Mutex] isItemNotified: received:node:a71629e6-3961-4048-b8ea-268f90e762b9:localhost:node-14248f05-0297-4145-92d7-a7405befc45a:Node 14248f05-0297-4145-92d7-a7405befc45a :: false |
deleteSubnodes | 1.188s |
2022-02-08 22:07:29 |
2022-02-08 22:07:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:29 | ------------------------------------ 2022-02-08 22:07:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a7abec95-c3b3-454d-a5fe-f7e771502026</node></data> 2022-02-08 22:07:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 22:07:31 | [Mutex] waiting for: [received:nodes:7e39c460-1370-41d9-a875-6c415777fe5b:localhost] 2022-02-08 22:07:31 | [Mutex] received everything. 2022-02-08 22:07:31 | [Mutex] isItemNotified: received:node:7e39c460-1370-41d9-a875-6c415777fe5b:localhost:node-a7abec95-c3b3-454d-a5fe-f7e771502026:Node a7abec95-c3b3-454d-a5fe-f7e771502026 :: false 2022-02-08 22:07:31 | [Mutex] waiting for: [received:nodes:598cf543-609d-4881-9a36-8d9fee471ac0:localhost] 2022-02-08 22:07:31 | [Mutex] received everything. 2022-02-08 22:07:31 | [Mutex] isItemNotified: received:node:598cf543-609d-4881-9a36-8d9fee471ac0:localhost:node-a7abec95-c3b3-454d-a5fe-f7e771502026:Node a7abec95-c3b3-454d-a5fe-f7e771502026 :: false |
publishItemsToNodes | 0.233s |
2022-02-08 22:07:27 |
2022-02-08 22:07:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:27 | ------------------------------------ 2022-02-08 22:07:27 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a7abec95-c3b3-454d-a5fe-f7e771502026</node><item-id>item-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d</item-id><entry><test>item-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d</test></entry></data> 2022-02-08 22:07:27 | 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-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d</value></item-id></result> 2022-02-08 22:07:27 | [Mutex] waiting for: [published:item:notifieditem-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d:admin@test-domain.com] 2022-02-08 22:07:27 | [Mutex] received everything. 2022-02-08 22:07:27 | [Mutex] isItemNotified: published:item:notifieditem-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.291s |
2022-02-08 22:07:28 |
2022-02-08 22:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:28 | ------------------------------------ 2022-02-08 22:07:28 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a7abec95-c3b3-454d-a5fe-f7e771502026</node><item-id>item-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d</item-id></data> 2022-02-08 22:07:28 | 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-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d</value></item-id></result> 2022-02-08 22:07:28 | [Mutex] received everything. 2022-02-08 22:07:28 | [Mutex] isItemNotified: retracted:item:notifieditem-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.348s |
2022-02-08 22:07:27 |
2022-02-08 22:07:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:27 | ------------------------------------ 2022-02-08 22:07:27 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a7abec95-c3b3-454d-a5fe-f7e771502026</node><item-id>item-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d</item-id></data> 2022-02-08 22:07:28 | 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-a7abec95-c3b3-454d-a5fe-f7e771502026</value></node><item-id label="Item ID" type="text-single"><value>item-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d</value></item-id><item label="Item" type="text-multi"><value><item id="item-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d"><test>item-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d</test></item></value></item></result> 2022-02-08 22:07:28 | [Mutex] notify: [retrieved:item:item-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d:payload-matches:true:localhost] 2022-02-08 22:07:28 | [Mutex] received everything. 2022-02-08 22:07:28 | [Mutex] isItemNotified: retrieved:item:item-da306612-a5aa-4bb0-b3c1-a501dd8cfe5d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-02-08 22:07:28 |
2022-02-08 22:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:28 | ------------------------------------ 2022-02-08 22:07:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-08 22:07:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-a7abec95-c3b3-454d-a5fe-f7e771502026</value><value>test</value><value>node-14248f05-0297-4145-92d7-a7405befc45a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-08 22:07:28 |
2022-02-08 22:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:28 | ------------------------------------ 2022-02-08 22:07:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a7abec95-c3b3-454d-a5fe-f7e771502026)</node-pattern></data> 2022-02-08 22:07:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.172s |
2022-02-08 22:07:26 |
2022-02-08 22:07:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:26 | ------------------------------------ 2022-02-08 22:07:26 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a7abec95-c3b3-454d-a5fe-f7e771502026</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-08 22:07:26 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.219s |
2022-02-08 22:07:28 |
2022-02-08 22:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 22:07:28 | ------------------------------------ 2022-02-08 22:07:28 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a7abec95-c3b3-454d-a5fe-f7e771502026</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-08 22:07:28 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |