Test duration : 9.615s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.137s |
2022-06-21 22:45:02 |
2022-06-21 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:02 | ------------------------------------ 2022-06-21 22:45:02 | [Mutex] waiting for: [configured:node:node-ca50e44d-32c4-49f6-9a97-ff5645b61774:node-96c2fbd1-f2f3-4161-a568-8ec9463bafc3] 2022-06-21 22:45:02 | [Mutex] received everything. 2022-06-21 22:45:02 | [Mutex] isItemNotified: configured:node:node-ca50e44d-32c4-49f6-9a97-ff5645b61774:node-96c2fbd1-f2f3-4161-a568-8ec9463bafc3 :: true 2022-06-21 22:45:03 | [Mutex] waiting for: [received:nodes:03875b98-d0cb-4695-9e5d-6f1bc226b5eb:localhost] 2022-06-21 22:45:03 | [Mutex] received everything. 2022-06-21 22:45:03 | [Mutex] isItemNotified: received:node:03875b98-d0cb-4695-9e5d-6f1bc226b5eb:localhost:node-ca50e44d-32c4-49f6-9a97-ff5645b61774:Node ca50e44d-32c4-49f6-9a97-ff5645b61774 :: true 2022-06-21 22:45:03 | [Mutex] waiting for: [received:nodes:5b993d18-1f40-4738-8d1b-073110d3019c:localhost] 2022-06-21 22:45:03 | [Mutex] received everything. 2022-06-21 22:45:03 | [Mutex] isItemNotified: received:node:5b993d18-1f40-4738-8d1b-073110d3019c:localhost:node-ca50e44d-32c4-49f6-9a97-ff5645b61774:Node ca50e44d-32c4-49f6-9a97-ff5645b61774 :: false |
createNodes | 1.529s |
2022-06-21 22:44:59 |
2022-06-21 22:44:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:44:59 | ------------------------------------ 2022-06-21 22:44:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ca50e44d-32c4-49f6-9a97-ff5645b61774</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ca50e44d-32c4-49f6-9a97-ff5645b61774</title></pubsub></data> 2022-06-21 22:45:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-21 22:45:01 | [Mutex] waiting for: [received:nodes:5a4c43ad-21e0-4430-a718-cfce03868547:localhost] 2022-06-21 22:45:01 | [Mutex] waiting for: [received:nodes:5a4c43ad-21e0-4430-a718-cfce03868547:localhost] 2022-06-21 22:45:01 | [Mutex] received everything. 2022-06-21 22:45:01 | [Mutex] isItemNotified: received:node:5a4c43ad-21e0-4430-a718-cfce03868547:localhost:node-ca50e44d-32c4-49f6-9a97-ff5645b61774:Node ca50e44d-32c4-49f6-9a97-ff5645b61774 :: true |
createSubnodes | 1.022s |
2022-06-21 22:45:01 |
2022-06-21 22:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:01 | ------------------------------------ 2022-06-21 22:45:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-96c2fbd1-f2f3-4161-a568-8ec9463bafc3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 96c2fbd1-f2f3-4161-a568-8ec9463bafc3</title></pubsub></data> 2022-06-21 22:45:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-21 22:45:02 | [Mutex] waiting for: [received:nodes:27346ca4-5807-4e51-9837-a80a790db82c:localhost] 2022-06-21 22:45:02 | [Mutex] received everything. 2022-06-21 22:45:02 | [Mutex] isItemNotified: received:node:27346ca4-5807-4e51-9837-a80a790db82c:localhost:node-96c2fbd1-f2f3-4161-a568-8ec9463bafc3:Node 96c2fbd1-f2f3-4161-a568-8ec9463bafc3 :: true |
deleteNodes | 1.015s |
2022-06-21 22:45:07 |
2022-06-21 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:07 | ------------------------------------ 2022-06-21 22:45:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-96c2fbd1-f2f3-4161-a568-8ec9463bafc3</node></data> 2022-06-21 22:45:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-21 22:45:08 | [Mutex] waiting for: [received:nodes:3ecfb91f-d3b4-40c0-957c-b8d24bc91d15:localhost] 2022-06-21 22:45:08 | [Mutex] received everything. 2022-06-21 22:45:08 | [Mutex] isItemNotified: received:node:3ecfb91f-d3b4-40c0-957c-b8d24bc91d15:localhost:node-96c2fbd1-f2f3-4161-a568-8ec9463bafc3:Node 96c2fbd1-f2f3-4161-a568-8ec9463bafc3 :: false |
deleteSubnodes | 1.138s |
2022-06-21 22:45:06 |
2022-06-21 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:06 | ------------------------------------ 2022-06-21 22:45:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ca50e44d-32c4-49f6-9a97-ff5645b61774</node></data> 2022-06-21 22:45:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-21 22:45:07 | [Mutex] waiting for: [received:nodes:adebb402-100e-4cd1-b695-6053131e7c2f:localhost] 2022-06-21 22:45:07 | [Mutex] waiting for: [received:nodes:adebb402-100e-4cd1-b695-6053131e7c2f:localhost] 2022-06-21 22:45:07 | [Mutex] received everything. 2022-06-21 22:45:07 | [Mutex] isItemNotified: received:node:adebb402-100e-4cd1-b695-6053131e7c2f:localhost:node-ca50e44d-32c4-49f6-9a97-ff5645b61774:Node ca50e44d-32c4-49f6-9a97-ff5645b61774 :: false 2022-06-21 22:45:07 | [Mutex] waiting for: [received:nodes:d96dbd6c-6a96-49db-a14a-01db5ff00406:localhost] 2022-06-21 22:45:07 | [Mutex] received everything. 2022-06-21 22:45:07 | [Mutex] isItemNotified: received:node:d96dbd6c-6a96-49db-a14a-01db5ff00406:localhost:node-ca50e44d-32c4-49f6-9a97-ff5645b61774:Node ca50e44d-32c4-49f6-9a97-ff5645b61774 :: false |
publishItemsToNodes | 0.231s |
2022-06-21 22:45:04 |
2022-06-21 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:04 | ------------------------------------ 2022-06-21 22:45:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ca50e44d-32c4-49f6-9a97-ff5645b61774</node><item-id>item-2b5ae176-925b-401f-907f-ba7df4a5aabc</item-id><entry><test>item-2b5ae176-925b-401f-907f-ba7df4a5aabc</test></entry></data> 2022-06-21 22:45:04 | 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-2b5ae176-925b-401f-907f-ba7df4a5aabc</value></item-id></result> 2022-06-21 22:45:04 | [Mutex] waiting for: [published:item:notifieditem-2b5ae176-925b-401f-907f-ba7df4a5aabc:admin@test-domain.com] 2022-06-21 22:45:04 | [Mutex] received everything. 2022-06-21 22:45:04 | [Mutex] isItemNotified: published:item:notifieditem-2b5ae176-925b-401f-907f-ba7df4a5aabc:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2022-06-21 22:45:04 |
2022-06-21 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:04 | ------------------------------------ 2022-06-21 22:45:04 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ca50e44d-32c4-49f6-9a97-ff5645b61774</node><item-id>item-2b5ae176-925b-401f-907f-ba7df4a5aabc</item-id></data> 2022-06-21 22:45:05 | 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-2b5ae176-925b-401f-907f-ba7df4a5aabc</value></item-id></result> 2022-06-21 22:45:05 | [Mutex] waiting for: [retracted:item:notifieditem-2b5ae176-925b-401f-907f-ba7df4a5aabc:admin@test-domain.com] 2022-06-21 22:45:05 | [Mutex] received everything. 2022-06-21 22:45:05 | [Mutex] isItemNotified: retracted:item:notifieditem-2b5ae176-925b-401f-907f-ba7df4a5aabc:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.190s |
2022-06-21 22:45:04 |
2022-06-21 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:04 | ------------------------------------ 2022-06-21 22:45:04 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ca50e44d-32c4-49f6-9a97-ff5645b61774</node><item-id>item-2b5ae176-925b-401f-907f-ba7df4a5aabc</item-id></data> 2022-06-21 22:45:04 | 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-ca50e44d-32c4-49f6-9a97-ff5645b61774</value></node><item-id label="Item ID" type="text-single"><value>item-2b5ae176-925b-401f-907f-ba7df4a5aabc</value></item-id><item label="Item" type="text-multi"><value><item id="item-2b5ae176-925b-401f-907f-ba7df4a5aabc"><test>item-2b5ae176-925b-401f-907f-ba7df4a5aabc</test></item></value></item></result> 2022-06-21 22:45:04 | [Mutex] notify: [retrieved:item:item-2b5ae176-925b-401f-907f-ba7df4a5aabc:payload-matches:true:localhost] 2022-06-21 22:45:04 | [Mutex] received everything. 2022-06-21 22:45:04 | [Mutex] isItemNotified: retrieved:item:item-2b5ae176-925b-401f-907f-ba7df4a5aabc:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2022-06-21 22:45:04 |
2022-06-21 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:04 | ------------------------------------ 2022-06-21 22:45:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-21 22:45:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-96c2fbd1-f2f3-4161-a568-8ec9463bafc3</value><value>test</value><value>node-ca50e44d-32c4-49f6-9a97-ff5645b61774</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-06-21 22:45:04 |
2022-06-21 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:04 | ------------------------------------ 2022-06-21 22:45:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ca50e44d-32c4-49f6-9a97-ff5645b61774)</node-pattern></data> 2022-06-21 22:45:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.114s |
2022-06-21 22:45:03 |
2022-06-21 22:45:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:03 | ------------------------------------ 2022-06-21 22:45:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ca50e44d-32c4-49f6-9a97-ff5645b61774</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-21 22:45:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.243s |
2022-06-21 22:45:05 |
2022-06-21 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 22:45:05 | ------------------------------------ 2022-06-21 22:45:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ca50e44d-32c4-49f6-9a97-ff5645b61774</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-21 22:45:05 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |