Test duration : 10.324s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2021-05-12 22:57:56 |
2021-05-12 22:57:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:57:56 | ------------------------------------ 2021-05-12 22:57:56 | [Mutex] waiting for: [configured:node:node-472beb1c-5529-41fd-9000-ad70614adf7b:node-80ffa9da-aeee-4358-bb40-c364597b4e37] 2021-05-12 22:57:57 | [Mutex] received everything. 2021-05-12 22:57:57 | [Mutex] isItemNotified: configured:node:node-472beb1c-5529-41fd-9000-ad70614adf7b:node-80ffa9da-aeee-4358-bb40-c364597b4e37 :: true 2021-05-12 22:57:58 | [Mutex] waiting for: [received:nodes:47d01d11-a364-4250-88de-c424f9eea3b0:localhost] 2021-05-12 22:57:58 | [Mutex] received everything. 2021-05-12 22:57:58 | [Mutex] isItemNotified: received:node:47d01d11-a364-4250-88de-c424f9eea3b0:localhost:node-472beb1c-5529-41fd-9000-ad70614adf7b:Node 472beb1c-5529-41fd-9000-ad70614adf7b :: true 2021-05-12 22:57:58 | [Mutex] waiting for: [received:nodes:67754847-503b-408c-bf16-f0c95560737e:localhost] 2021-05-12 22:57:58 | [Mutex] received everything. 2021-05-12 22:57:58 | [Mutex] isItemNotified: received:node:67754847-503b-408c-bf16-f0c95560737e:localhost:node-472beb1c-5529-41fd-9000-ad70614adf7b:Node 472beb1c-5529-41fd-9000-ad70614adf7b :: false |
createNodes | 1.517s |
2021-05-12 22:57:54 |
2021-05-12 22:57:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:57:54 | ------------------------------------ 2021-05-12 22:57:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-472beb1c-5529-41fd-9000-ad70614adf7b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 472beb1c-5529-41fd-9000-ad70614adf7b</title></pubsub></data> 2021-05-12 22:57:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-12 22:57:55 | [Mutex] waiting for: [received:nodes:b5e42959-c688-483a-bd46-ad1c3a2f4e1e:localhost] 2021-05-12 22:57:55 | [Mutex] waiting for: [received:nodes:b5e42959-c688-483a-bd46-ad1c3a2f4e1e:localhost] 2021-05-12 22:57:55 | [Mutex] waiting for: [received:nodes:b5e42959-c688-483a-bd46-ad1c3a2f4e1e:localhost] 2021-05-12 22:57:55 | [Mutex] received everything. 2021-05-12 22:57:55 | [Mutex] isItemNotified: received:node:b5e42959-c688-483a-bd46-ad1c3a2f4e1e:localhost:node-472beb1c-5529-41fd-9000-ad70614adf7b:Node 472beb1c-5529-41fd-9000-ad70614adf7b :: true |
createSubnodes | 1.034s |
2021-05-12 22:57:55 |
2021-05-12 22:57:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:57:55 | ------------------------------------ 2021-05-12 22:57:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-80ffa9da-aeee-4358-bb40-c364597b4e37</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 80ffa9da-aeee-4358-bb40-c364597b4e37</title></pubsub></data> 2021-05-12 22:57:55 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-12 22:57:56 | [Mutex] waiting for: [received:nodes:05b13b89-4bc6-4fb9-a2c8-9490d517c184:localhost] 2021-05-12 22:57:56 | [Mutex] waiting for: [received:nodes:05b13b89-4bc6-4fb9-a2c8-9490d517c184:localhost] 2021-05-12 22:57:56 | [Mutex] received everything. 2021-05-12 22:57:56 | [Mutex] isItemNotified: received:node:05b13b89-4bc6-4fb9-a2c8-9490d517c184:localhost:node-80ffa9da-aeee-4358-bb40-c364597b4e37:Node 80ffa9da-aeee-4358-bb40-c364597b4e37 :: true |
deleteNodes | 1.025s |
2021-05-12 22:58:02 |
2021-05-12 22:58:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:58:02 | ------------------------------------ 2021-05-12 22:58:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-80ffa9da-aeee-4358-bb40-c364597b4e37</node></data> 2021-05-12 22:58:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-12 22:58:03 | [Mutex] waiting for: [received:nodes:0b41cda7-8508-4a6a-8a55-494ad79d51dc:localhost] 2021-05-12 22:58:03 | [Mutex] received everything. 2021-05-12 22:58:03 | [Mutex] isItemNotified: received:node:0b41cda7-8508-4a6a-8a55-494ad79d51dc:localhost:node-80ffa9da-aeee-4358-bb40-c364597b4e37:Node 80ffa9da-aeee-4358-bb40-c364597b4e37 :: false |
deleteSubnodes | 1.139s |
2021-05-12 22:58:01 |
2021-05-12 22:58:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:58:01 | ------------------------------------ 2021-05-12 22:58:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-472beb1c-5529-41fd-9000-ad70614adf7b</node></data> 2021-05-12 22:58:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-12 22:58:02 | [Mutex] waiting for: [received:nodes:8bb3afb9-4242-4b8f-9996-c82560a6c01a:localhost] 2021-05-12 22:58:02 | [Mutex] waiting for: [received:nodes:8bb3afb9-4242-4b8f-9996-c82560a6c01a:localhost] 2021-05-12 22:58:02 | [Mutex] waiting for: [received:nodes:8bb3afb9-4242-4b8f-9996-c82560a6c01a:localhost] 2021-05-12 22:58:02 | [Mutex] waiting for: [received:nodes:8bb3afb9-4242-4b8f-9996-c82560a6c01a:localhost] 2021-05-12 22:58:02 | [Mutex] received everything. 2021-05-12 22:58:02 | [Mutex] isItemNotified: received:node:8bb3afb9-4242-4b8f-9996-c82560a6c01a:localhost:node-472beb1c-5529-41fd-9000-ad70614adf7b:Node 472beb1c-5529-41fd-9000-ad70614adf7b :: false 2021-05-12 22:58:02 | [Mutex] waiting for: [received:nodes:8e5f4c6b-a76d-49ef-b985-63fb54aba79a:localhost] 2021-05-12 22:58:02 | [Mutex] received everything. 2021-05-12 22:58:02 | [Mutex] isItemNotified: received:node:8e5f4c6b-a76d-49ef-b985-63fb54aba79a:localhost:node-472beb1c-5529-41fd-9000-ad70614adf7b:Node 472beb1c-5529-41fd-9000-ad70614adf7b :: false |
publishItemsToNodes | 0.236s |
2021-05-12 22:57:59 |
2021-05-12 22:57:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:57:59 | ------------------------------------ 2021-05-12 22:57:59 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-472beb1c-5529-41fd-9000-ad70614adf7b</node><item-id>item-4ce4834c-9e04-467a-ad93-87cc660d38c2</item-id><entry><test>item-4ce4834c-9e04-467a-ad93-87cc660d38c2</test></entry></data> 2021-05-12 22:57:59 | 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-4ce4834c-9e04-467a-ad93-87cc660d38c2</value></item-id></result> 2021-05-12 22:57:59 | [Mutex] received everything. 2021-05-12 22:57:59 | [Mutex] isItemNotified: published:item:notifieditem-4ce4834c-9e04-467a-ad93-87cc660d38c2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.176s |
2021-05-12 22:57:59 |
2021-05-12 22:57:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:57:59 | ------------------------------------ 2021-05-12 22:57:59 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-472beb1c-5529-41fd-9000-ad70614adf7b</node><item-id>item-4ce4834c-9e04-467a-ad93-87cc660d38c2</item-id></data> 2021-05-12 22:58:00 | 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-4ce4834c-9e04-467a-ad93-87cc660d38c2</value></item-id></result> 2021-05-12 22:58:00 | [Mutex] received everything. 2021-05-12 22:58:00 | [Mutex] isItemNotified: retracted:item:notifieditem-4ce4834c-9e04-467a-ad93-87cc660d38c2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.314s |
2021-05-12 22:57:59 |
2021-05-12 22:57:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:57:59 | ------------------------------------ 2021-05-12 22:57:59 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-472beb1c-5529-41fd-9000-ad70614adf7b</node><item-id>item-4ce4834c-9e04-467a-ad93-87cc660d38c2</item-id></data> 2021-05-12 22:57:59 | 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-472beb1c-5529-41fd-9000-ad70614adf7b</value></node><item-id label="Item ID" type="text-single"><value>item-4ce4834c-9e04-467a-ad93-87cc660d38c2</value></item-id><item label="Item" type="text-multi"><value><item id="item-4ce4834c-9e04-467a-ad93-87cc660d38c2"><test>item-4ce4834c-9e04-467a-ad93-87cc660d38c2</test></item></value></item></result> 2021-05-12 22:57:59 | [Mutex] notify: [retrieved:item:item-4ce4834c-9e04-467a-ad93-87cc660d38c2:payload-matches:true:localhost] 2021-05-12 22:57:59 | [Mutex] received everything. 2021-05-12 22:57:59 | [Mutex] isItemNotified: retrieved:item:item-4ce4834c-9e04-467a-ad93-87cc660d38c2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2021-05-12 22:57:59 |
2021-05-12 22:57:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:57:59 | ------------------------------------ 2021-05-12 22:57:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-12 22:57:59 | 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-80ffa9da-aeee-4358-bb40-c364597b4e37</value><value>node-472beb1c-5529-41fd-9000-ad70614adf7b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-05-12 22:57:59 |
2021-05-12 22:57:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:57:59 | ------------------------------------ 2021-05-12 22:57:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-472beb1c-5529-41fd-9000-ad70614adf7b)</node-pattern></data> 2021-05-12 22:57:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.212s |
2021-05-12 22:57:58 |
2021-05-12 22:57:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:57:58 | ------------------------------------ 2021-05-12 22:57:58 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-472beb1c-5529-41fd-9000-ad70614adf7b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-12 22:57:58 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.407s |
2021-05-12 22:58:00 |
2021-05-12 22:58:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:58:00 | ------------------------------------ 2021-05-12 22:58:00 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-472beb1c-5529-41fd-9000-ad70614adf7b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-12 22:58:00 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |