Test duration : 9.412s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2022-08-02 23:02:23 |
2022-08-02 23:02:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:23 | ------------------------------------ 2022-08-02 23:02:23 | [Mutex] waiting for: [configured:node:node-c82f29fa-0a80-4598-9a62-6b057991639c:node-cf386501-c2ca-4d9b-b801-b4a7a25f6b1c] 2022-08-02 23:02:23 | [Mutex] received everything. 2022-08-02 23:02:23 | [Mutex] isItemNotified: configured:node:node-c82f29fa-0a80-4598-9a62-6b057991639c:node-cf386501-c2ca-4d9b-b801-b4a7a25f6b1c :: true 2022-08-02 23:02:24 | [Mutex] waiting for: [received:nodes:c91eb851-3c18-42f2-a60f-51b59efc560f:localhost] 2022-08-02 23:02:24 | [Mutex] received everything. 2022-08-02 23:02:24 | [Mutex] isItemNotified: received:node:c91eb851-3c18-42f2-a60f-51b59efc560f:localhost:node-c82f29fa-0a80-4598-9a62-6b057991639c:Node c82f29fa-0a80-4598-9a62-6b057991639c :: true 2022-08-02 23:02:24 | [Mutex] waiting for: [received:nodes:ee57b481-ff71-4815-97fa-52476c20f87e:localhost] 2022-08-02 23:02:24 | [Mutex] waiting for: [received:nodes:ee57b481-ff71-4815-97fa-52476c20f87e:localhost] 2022-08-02 23:02:24 | [Mutex] received everything. 2022-08-02 23:02:24 | [Mutex] isItemNotified: received:node:ee57b481-ff71-4815-97fa-52476c20f87e:localhost:node-c82f29fa-0a80-4598-9a62-6b057991639c:Node c82f29fa-0a80-4598-9a62-6b057991639c :: false |
createNodes | 1.370s |
2022-08-02 23:02:20 |
2022-08-02 23:02:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:20 | ------------------------------------ 2022-08-02 23:02:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c82f29fa-0a80-4598-9a62-6b057991639c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c82f29fa-0a80-4598-9a62-6b057991639c</title></pubsub></data> 2022-08-02 23:02:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-02 23:02:22 | [Mutex] waiting for: [received:nodes:5bdfa6c8-0544-4f06-b316-c37d1406d8d7:localhost] 2022-08-02 23:02:22 | [Mutex] received everything. 2022-08-02 23:02:22 | [Mutex] isItemNotified: received:node:5bdfa6c8-0544-4f06-b316-c37d1406d8d7:localhost:node-c82f29fa-0a80-4598-9a62-6b057991639c:Node c82f29fa-0a80-4598-9a62-6b057991639c :: true |
createSubnodes | 1.021s |
2022-08-02 23:02:22 |
2022-08-02 23:02:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:22 | ------------------------------------ 2022-08-02 23:02:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cf386501-c2ca-4d9b-b801-b4a7a25f6b1c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cf386501-c2ca-4d9b-b801-b4a7a25f6b1c</title></pubsub></data> 2022-08-02 23:02:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-02 23:02:23 | [Mutex] waiting for: [received:nodes:f64a6c06-2bec-4cdc-9866-f2175aeb8b16:localhost] 2022-08-02 23:02:23 | [Mutex] received everything. 2022-08-02 23:02:23 | [Mutex] isItemNotified: received:node:f64a6c06-2bec-4cdc-9866-f2175aeb8b16:localhost:node-cf386501-c2ca-4d9b-b801-b4a7a25f6b1c:Node cf386501-c2ca-4d9b-b801-b4a7a25f6b1c :: true |
deleteNodes | 1.018s |
2022-08-02 23:02:28 |
2022-08-02 23:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:28 | ------------------------------------ 2022-08-02 23:02:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cf386501-c2ca-4d9b-b801-b4a7a25f6b1c</node></data> 2022-08-02 23:02:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-02 23:02:29 | [Mutex] waiting for: [received:nodes:d2df92f8-f957-435b-af82-47c2723395ed:localhost] 2022-08-02 23:02:29 | [Mutex] waiting for: [received:nodes:d2df92f8-f957-435b-af82-47c2723395ed:localhost] 2022-08-02 23:02:29 | [Mutex] waiting for: [received:nodes:d2df92f8-f957-435b-af82-47c2723395ed:localhost] 2022-08-02 23:02:29 | [Mutex] received everything. 2022-08-02 23:02:29 | [Mutex] isItemNotified: received:node:d2df92f8-f957-435b-af82-47c2723395ed:localhost:node-cf386501-c2ca-4d9b-b801-b4a7a25f6b1c:Node cf386501-c2ca-4d9b-b801-b4a7a25f6b1c :: false |
deleteSubnodes | 1.116s |
2022-08-02 23:02:27 |
2022-08-02 23:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:27 | ------------------------------------ 2022-08-02 23:02:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c82f29fa-0a80-4598-9a62-6b057991639c</node></data> 2022-08-02 23:02:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-02 23:02:28 | [Mutex] waiting for: [received:nodes:06d2ffb8-4338-4c26-8419-f112167dba4d:localhost] 2022-08-02 23:02:28 | [Mutex] received everything. 2022-08-02 23:02:28 | [Mutex] isItemNotified: received:node:06d2ffb8-4338-4c26-8419-f112167dba4d:localhost:node-c82f29fa-0a80-4598-9a62-6b057991639c:Node c82f29fa-0a80-4598-9a62-6b057991639c :: false 2022-08-02 23:02:28 | [Mutex] waiting for: [received:nodes:137d60f7-4b73-4a75-829a-29f9d11bf992:localhost] 2022-08-02 23:02:28 | [Mutex] received everything. 2022-08-02 23:02:28 | [Mutex] isItemNotified: received:node:137d60f7-4b73-4a75-829a-29f9d11bf992:localhost:node-c82f29fa-0a80-4598-9a62-6b057991639c:Node c82f29fa-0a80-4598-9a62-6b057991639c :: false |
publishItemsToNodes | 0.230s |
2022-08-02 23:02:25 |
2022-08-02 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:25 | ------------------------------------ 2022-08-02 23:02:25 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c82f29fa-0a80-4598-9a62-6b057991639c</node><item-id>item-3d75b3cd-8302-4e83-b926-229bdaae584b</item-id><entry><test>item-3d75b3cd-8302-4e83-b926-229bdaae584b</test></entry></data> 2022-08-02 23:02:25 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-3d75b3cd-8302-4e83-b926-229bdaae584b</value></item-id></result> 2022-08-02 23:02:25 | [Mutex] received everything. 2022-08-02 23:02:25 | [Mutex] isItemNotified: published:item:notifieditem-3d75b3cd-8302-4e83-b926-229bdaae584b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.262s |
2022-08-02 23:02:26 |
2022-08-02 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:26 | ------------------------------------ 2022-08-02 23:02:26 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c82f29fa-0a80-4598-9a62-6b057991639c</node><item-id>item-3d75b3cd-8302-4e83-b926-229bdaae584b</item-id></data> 2022-08-02 23:02:26 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-3d75b3cd-8302-4e83-b926-229bdaae584b</value></item-id></result> 2022-08-02 23:02:26 | [Mutex] waiting for: [retracted:item:notifieditem-3d75b3cd-8302-4e83-b926-229bdaae584b:admin@test-domain.com] 2022-08-02 23:02:26 | [Mutex] received everything. 2022-08-02 23:02:26 | [Mutex] isItemNotified: retracted:item:notifieditem-3d75b3cd-8302-4e83-b926-229bdaae584b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.233s |
2022-08-02 23:02:25 |
2022-08-02 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:25 | ------------------------------------ 2022-08-02 23:02:25 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c82f29fa-0a80-4598-9a62-6b057991639c</node><item-id>item-3d75b3cd-8302-4e83-b926-229bdaae584b</item-id></data> 2022-08-02 23:02:25 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-c82f29fa-0a80-4598-9a62-6b057991639c</value></node><item-id type="text-single" label="Item ID"><value>item-3d75b3cd-8302-4e83-b926-229bdaae584b</value></item-id><item type="text-multi" label="Item"><value><item id="item-3d75b3cd-8302-4e83-b926-229bdaae584b"><test>item-3d75b3cd-8302-4e83-b926-229bdaae584b</test></item></value></item></result> 2022-08-02 23:02:25 | [Mutex] notify: [retrieved:item:item-3d75b3cd-8302-4e83-b926-229bdaae584b:payload-matches:true:localhost] 2022-08-02 23:02:25 | [Mutex] received everything. 2022-08-02 23:02:25 | [Mutex] isItemNotified: retrieved:item:item-3d75b3cd-8302-4e83-b926-229bdaae584b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-02 23:02:25 |
2022-08-02 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:25 | ------------------------------------ 2022-08-02 23:02:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-02 23:02:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-cf386501-c2ca-4d9b-b801-b4a7a25f6b1c</value><value>node-c82f29fa-0a80-4598-9a62-6b057991639c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2022-08-02 23:02:26 |
2022-08-02 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:26 | ------------------------------------ 2022-08-02 23:02: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-c82f29fa-0a80-4598-9a62-6b057991639c)</node-pattern></data> 2022-08-02 23:02:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.112s |
2022-08-02 23:02:24 |
2022-08-02 23:02:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:24 | ------------------------------------ 2022-08-02 23:02:24 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c82f29fa-0a80-4598-9a62-6b057991639c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-02 23:02: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.244s |
2022-08-02 23:02:26 |
2022-08-02 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 23:02:26 | ------------------------------------ 2022-08-02 23:02:26 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c82f29fa-0a80-4598-9a62-6b057991639c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-02 23:02:26 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |