Test duration : 9.527s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-10-13 23:05:59 |
2022-10-13 23:05:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:05:59 | ------------------------------------ 2022-10-13 23:05:59 | [Mutex] waiting for: [configured:node:node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f:node-6f12eea0-14fe-4da7-accd-bdc7eb953da3] 2022-10-13 23:05:59 | [Mutex] received everything. 2022-10-13 23:05:59 | [Mutex] isItemNotified: configured:node:node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f:node-6f12eea0-14fe-4da7-accd-bdc7eb953da3 :: true 2022-10-13 23:06:00 | [Mutex] waiting for: [received:nodes:688605c4-49b9-4761-a564-4c7726f5d763:localhost] 2022-10-13 23:06:00 | [Mutex] received everything. 2022-10-13 23:06:00 | [Mutex] isItemNotified: received:node:688605c4-49b9-4761-a564-4c7726f5d763:localhost:node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f:Node 1280c25d-e19a-43c4-9bbf-5a743cd2a67f :: true 2022-10-13 23:06:00 | [Mutex] waiting for: [received:nodes:72a87c0c-325d-44c6-8526-f7c45ac6c36f:localhost] 2022-10-13 23:06:00 | [Mutex] received everything. 2022-10-13 23:06:00 | [Mutex] isItemNotified: received:node:72a87c0c-325d-44c6-8526-f7c45ac6c36f:localhost:node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f:Node 1280c25d-e19a-43c4-9bbf-5a743cd2a67f :: false |
createNodes | 1.385s |
2022-10-13 23:05:57 |
2022-10-13 23:05:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:05:57 | ------------------------------------ 2022-10-13 23:05:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1280c25d-e19a-43c4-9bbf-5a743cd2a67f</title></pubsub></data> 2022-10-13 23:05:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-13 23:05:58 | [Mutex] waiting for: [received:nodes:6291949d-d449-4d03-a1ce-ebc4413383f4:localhost] 2022-10-13 23:05:58 | [Mutex] waiting for: [received:nodes:6291949d-d449-4d03-a1ce-ebc4413383f4:localhost] 2022-10-13 23:05:58 | [Mutex] waiting for: [received:nodes:6291949d-d449-4d03-a1ce-ebc4413383f4:localhost] 2022-10-13 23:05:58 | [Mutex] received everything. 2022-10-13 23:05:58 | [Mutex] isItemNotified: received:node:6291949d-d449-4d03-a1ce-ebc4413383f4:localhost:node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f:Node 1280c25d-e19a-43c4-9bbf-5a743cd2a67f :: true |
createSubnodes | 1.029s |
2022-10-13 23:05:58 |
2022-10-13 23:05:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:05:58 | ------------------------------------ 2022-10-13 23:05:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6f12eea0-14fe-4da7-accd-bdc7eb953da3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6f12eea0-14fe-4da7-accd-bdc7eb953da3</title></pubsub></data> 2022-10-13 23:05:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-13 23:05:59 | [Mutex] waiting for: [received:nodes:5d8533ab-6222-412c-8fa2-6938a474a82f:localhost] 2022-10-13 23:05:59 | [Mutex] received everything. 2022-10-13 23:05:59 | [Mutex] isItemNotified: received:node:5d8533ab-6222-412c-8fa2-6938a474a82f:localhost:node-6f12eea0-14fe-4da7-accd-bdc7eb953da3:Node 6f12eea0-14fe-4da7-accd-bdc7eb953da3 :: true |
deleteNodes | 1.024s |
2022-10-13 23:06:05 |
2022-10-13 23:06:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:06:05 | ------------------------------------ 2022-10-13 23:06:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6f12eea0-14fe-4da7-accd-bdc7eb953da3</node></data> 2022-10-13 23:06:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-13 23:06:06 | [Mutex] waiting for: [received:nodes:a159fc23-427b-47e5-9de0-37fcbed83969:localhost] 2022-10-13 23:06:06 | [Mutex] received everything. 2022-10-13 23:06:06 | [Mutex] isItemNotified: received:node:a159fc23-427b-47e5-9de0-37fcbed83969:localhost:node-6f12eea0-14fe-4da7-accd-bdc7eb953da3:Node 6f12eea0-14fe-4da7-accd-bdc7eb953da3 :: false |
deleteSubnodes | 1.123s |
2022-10-13 23:06:04 |
2022-10-13 23:06:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:06:04 | ------------------------------------ 2022-10-13 23:06:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f</node></data> 2022-10-13 23:06:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-13 23:06:05 | [Mutex] waiting for: [received:nodes:f306468f-17d5-46e5-bfcf-b6dd0efe9dce:localhost] 2022-10-13 23:06:05 | [Mutex] waiting for: [received:nodes:f306468f-17d5-46e5-bfcf-b6dd0efe9dce:localhost] 2022-10-13 23:06:05 | [Mutex] received everything. 2022-10-13 23:06:05 | [Mutex] isItemNotified: received:node:f306468f-17d5-46e5-bfcf-b6dd0efe9dce:localhost:node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f:Node 1280c25d-e19a-43c4-9bbf-5a743cd2a67f :: false 2022-10-13 23:06:05 | [Mutex] waiting for: [received:nodes:9103c599-a96d-46d0-9250-ab11d371513e:localhost] 2022-10-13 23:06:05 | [Mutex] received everything. 2022-10-13 23:06:05 | [Mutex] isItemNotified: received:node:9103c599-a96d-46d0-9250-ab11d371513e:localhost:node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f:Node 1280c25d-e19a-43c4-9bbf-5a743cd2a67f :: false |
publishItemsToNodes | 0.228s |
2022-10-13 23:06:02 |
2022-10-13 23:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:06:02 | ------------------------------------ 2022-10-13 23:06:02 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f</node><item-id>item-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00</item-id><entry><test>item-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00</test></entry></data> 2022-10-13 23:06:02 | 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-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00</value></item-id></result> 2022-10-13 23:06:02 | [Mutex] waiting for: [published:item:notifieditem-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00:admin@test-domain.com] 2022-10-13 23:06:02 | [Mutex] received everything. 2022-10-13 23:06:02 | [Mutex] isItemNotified: published:item:notifieditem-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00:admin@test-domain.com :: true |
retractItemsFromNodes | 0.258s |
2022-10-13 23:06:02 |
2022-10-13 23:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:06:02 | ------------------------------------ 2022-10-13 23:06:02 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f</node><item-id>item-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00</item-id></data> 2022-10-13 23:06:02 | 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-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00</value></item-id></result> 2022-10-13 23:06:02 | [Mutex] waiting for: [retracted:item:notifieditem-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00:admin@test-domain.com] 2022-10-13 23:06:02 | [Mutex] received everything. 2022-10-13 23:06:02 | [Mutex] isItemNotified: retracted:item:notifieditem-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.248s |
2022-10-13 23:06:02 |
2022-10-13 23:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:06:02 | ------------------------------------ 2022-10-13 23:06:02 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f</node><item-id>item-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00</item-id></data> 2022-10-13 23:06:02 | 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-1280c25d-e19a-43c4-9bbf-5a743cd2a67f</value></node><item-id label="Item ID" type="text-single"><value>item-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00</value></item-id><item label="Item" type="text-multi"><value><item id="item-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00"><test>item-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00</test></item></value></item></result> 2022-10-13 23:06:02 | [Mutex] notify: [retrieved:item:item-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00:payload-matches:true:localhost] 2022-10-13 23:06:02 | [Mutex] received everything. 2022-10-13 23:06:02 | [Mutex] isItemNotified: retrieved:item:item-10c2ace9-50c9-4bd9-b78a-db5b6ec6da00:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-10-13 23:06:02 |
2022-10-13 23:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:06:02 | ------------------------------------ 2022-10-13 23:06:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-10-13 23:06:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f</value><value>node-6f12eea0-14fe-4da7-accd-bdc7eb953da3</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2022-10-13 23:06:02 |
2022-10-13 23:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:06:02 | ------------------------------------ 2022-10-13 23:06:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f)</node-pattern></data> 2022-10-13 23:06:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.101s |
2022-10-13 23:06:00 |
2022-10-13 23:06:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:06:00 | ------------------------------------ 2022-10-13 23:06:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-13 23:06:01 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.273s |
2022-10-13 23:06:02 |
2022-10-13 23:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 23:06:02 | ------------------------------------ 2022-10-13 23:06:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1280c25d-e19a-43c4-9bbf-5a743cd2a67f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-13 23:06:03 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |