Test duration : 9.555s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.089s |
2022-08-26 07:19:43 |
2022-08-26 07:19:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:43 | ------------------------------------ 2022-08-26 07:19:43 | [Mutex] waiting for: [configured:node:node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017:node-bb465bb4-46d8-4afb-8ec1-223f8715fa6f] 2022-08-26 07:19:43 | [Mutex] received everything. 2022-08-26 07:19:43 | [Mutex] isItemNotified: configured:node:node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017:node-bb465bb4-46d8-4afb-8ec1-223f8715fa6f :: true 2022-08-26 07:19:44 | [Mutex] waiting for: [received:nodes:e651c297-fee1-4257-907d-a8231ce6ccc4:localhost] 2022-08-26 07:19:44 | [Mutex] received everything. 2022-08-26 07:19:44 | [Mutex] isItemNotified: received:node:e651c297-fee1-4257-907d-a8231ce6ccc4:localhost:node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017:Node 8d2c57b5-4d19-4f46-9d51-edf8bf9ad017 :: true 2022-08-26 07:19:44 | [Mutex] waiting for: [received:nodes:bf9a5bdb-2603-436f-b426-52743dc15b42:localhost] 2022-08-26 07:19:44 | [Mutex] waiting for: [received:nodes:bf9a5bdb-2603-436f-b426-52743dc15b42:localhost] 2022-08-26 07:19:44 | [Mutex] waiting for: [received:nodes:bf9a5bdb-2603-436f-b426-52743dc15b42:localhost] 2022-08-26 07:19:44 | [Mutex] waiting for: [received:nodes:bf9a5bdb-2603-436f-b426-52743dc15b42:localhost] 2022-08-26 07:19:44 | [Mutex] received everything. 2022-08-26 07:19:44 | [Mutex] isItemNotified: received:node:bf9a5bdb-2603-436f-b426-52743dc15b42:localhost:node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017:Node 8d2c57b5-4d19-4f46-9d51-edf8bf9ad017 :: false |
createNodes | 1.375s |
2022-08-26 07:19:41 |
2022-08-26 07:19:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:41 | ------------------------------------ 2022-08-26 07:19:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8d2c57b5-4d19-4f46-9d51-edf8bf9ad017</title></pubsub></data> 2022-08-26 07:19:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-26 07:19:42 | [Mutex] waiting for: [received:nodes:4a5d4eb8-93aa-4e9d-8ae8-03b3937f8ce8:localhost] 2022-08-26 07:19:42 | [Mutex] received everything. 2022-08-26 07:19:42 | [Mutex] isItemNotified: received:node:4a5d4eb8-93aa-4e9d-8ae8-03b3937f8ce8:localhost:node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017:Node 8d2c57b5-4d19-4f46-9d51-edf8bf9ad017 :: true |
createSubnodes | 1.024s |
2022-08-26 07:19:42 |
2022-08-26 07:19:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:42 | ------------------------------------ 2022-08-26 07:19:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bb465bb4-46d8-4afb-8ec1-223f8715fa6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bb465bb4-46d8-4afb-8ec1-223f8715fa6f</title></pubsub></data> 2022-08-26 07:19:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-26 07:19:43 | [Mutex] waiting for: [received:nodes:3e289339-3abe-41d1-ac17-6d7807ef7899:localhost] 2022-08-26 07:19:43 | [Mutex] received everything. 2022-08-26 07:19:43 | [Mutex] isItemNotified: received:node:3e289339-3abe-41d1-ac17-6d7807ef7899:localhost:node-bb465bb4-46d8-4afb-8ec1-223f8715fa6f:Node bb465bb4-46d8-4afb-8ec1-223f8715fa6f :: true |
deleteNodes | 1.018s |
2022-08-26 07:19:49 |
2022-08-26 07:19:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:49 | ------------------------------------ 2022-08-26 07:19:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bb465bb4-46d8-4afb-8ec1-223f8715fa6f</node></data> 2022-08-26 07:19:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-26 07:19:50 | [Mutex] waiting for: [received:nodes:ffddf4ac-9320-4ac2-9a23-2b2b6af20015:localhost] 2022-08-26 07:19:50 | [Mutex] received everything. 2022-08-26 07:19:50 | [Mutex] isItemNotified: received:node:ffddf4ac-9320-4ac2-9a23-2b2b6af20015:localhost:node-bb465bb4-46d8-4afb-8ec1-223f8715fa6f:Node bb465bb4-46d8-4afb-8ec1-223f8715fa6f :: false |
deleteSubnodes | 1.146s |
2022-08-26 07:19:48 |
2022-08-26 07:19:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:48 | ------------------------------------ 2022-08-26 07:19:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017</node></data> 2022-08-26 07:19:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-26 07:19:49 | [Mutex] waiting for: [received:nodes:b397fcb4-a724-4a97-857e-895e4f2db668:localhost] 2022-08-26 07:19:49 | [Mutex] received everything. 2022-08-26 07:19:49 | [Mutex] isItemNotified: received:node:b397fcb4-a724-4a97-857e-895e4f2db668:localhost:node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017:Node 8d2c57b5-4d19-4f46-9d51-edf8bf9ad017 :: false 2022-08-26 07:19:49 | [Mutex] waiting for: [received:nodes:58a8a176-64c2-4409-bd3a-4feeb55a6912:localhost] 2022-08-26 07:19:49 | [Mutex] received everything. 2022-08-26 07:19:49 | [Mutex] isItemNotified: received:node:58a8a176-64c2-4409-bd3a-4feeb55a6912:localhost:node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017:Node 8d2c57b5-4d19-4f46-9d51-edf8bf9ad017 :: false |
publishItemsToNodes | 0.221s |
2022-08-26 07:19:45 |
2022-08-26 07:19:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:45 | ------------------------------------ 2022-08-26 07:19:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017</node><item-id>item-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad</item-id><entry><test>item-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad</test></entry></data> 2022-08-26 07:19:46 | 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-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad</value></item-id></result> 2022-08-26 07:19:46 | [Mutex] received everything. 2022-08-26 07:19:46 | [Mutex] isItemNotified: published:item:notifieditem-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad:admin@test-domain.com :: true |
retractItemsFromNodes | 0.367s |
2022-08-26 07:19:46 |
2022-08-26 07:19:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:46 | ------------------------------------ 2022-08-26 07:19:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017</node><item-id>item-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad</item-id></data> 2022-08-26 07:19:46 | 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-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad</value></item-id></result> 2022-08-26 07:19:46 | [Mutex] received everything. 2022-08-26 07:19:46 | [Mutex] isItemNotified: retracted:item:notifieditem-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.259s |
2022-08-26 07:19:46 |
2022-08-26 07:19:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:46 | ------------------------------------ 2022-08-26 07:19:46 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017</node><item-id>item-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad</item-id></data> 2022-08-26 07:19:46 | 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-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017</value></node><item-id type="text-single" label="Item ID"><value>item-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad</value></item-id><item type="text-multi" label="Item"><value><item id="item-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad"><test>item-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad</test></item></value></item></result> 2022-08-26 07:19:46 | [Mutex] notify: [retrieved:item:item-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad:payload-matches:true:localhost] 2022-08-26 07:19:46 | [Mutex] received everything. 2022-08-26 07:19:46 | [Mutex] isItemNotified: retrieved:item:item-dd7c1e0f-ae02-401c-b5c4-78df07bc77ad:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-26 07:19:46 |
2022-08-26 07:19:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:46 | ------------------------------------ 2022-08-26 07:19:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-26 07:19:46 | 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-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017</value><value>node-bb465bb4-46d8-4afb-8ec1-223f8715fa6f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-26 07:19:46 |
2022-08-26 07:19:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:46 | ------------------------------------ 2022-08-26 07:19:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017)</node-pattern></data> 2022-08-26 07:19:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.121s |
2022-08-26 07:19:44 |
2022-08-26 07:19:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:44 | ------------------------------------ 2022-08-26 07:19:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-26 07:19:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.156s |
2022-08-26 07:19:46 |
2022-08-26 07:19:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-26 07:19:46 | ------------------------------------ 2022-08-26 07:19:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8d2c57b5-4d19-4f46-9d51-edf8bf9ad017</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-26 07:19:47 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |