Test duration : 9.474s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2022-07-12 08:15:04 |
2022-07-12 08:15:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:04 | ------------------------------------ 2022-07-12 08:15:04 | [Mutex] waiting for: [configured:node:node-a1da4efe-a7c2-47eb-89c7-12db47f44efe:node-1659a207-fd94-41e4-84c2-bf7af018b059] 2022-07-12 08:15:04 | [Mutex] received everything. 2022-07-12 08:15:04 | [Mutex] isItemNotified: configured:node:node-a1da4efe-a7c2-47eb-89c7-12db47f44efe:node-1659a207-fd94-41e4-84c2-bf7af018b059 :: true 2022-07-12 08:15:05 | [Mutex] waiting for: [received:nodes:615d9fbc-f758-4d92-aa0a-16e872626899:localhost] 2022-07-12 08:15:05 | [Mutex] received everything. 2022-07-12 08:15:05 | [Mutex] isItemNotified: received:node:615d9fbc-f758-4d92-aa0a-16e872626899:localhost:node-a1da4efe-a7c2-47eb-89c7-12db47f44efe:Node a1da4efe-a7c2-47eb-89c7-12db47f44efe :: true 2022-07-12 08:15:05 | [Mutex] waiting for: [received:nodes:e94b9484-36dc-40d7-8890-0e292447ed07:localhost] 2022-07-12 08:15:05 | [Mutex] waiting for: [received:nodes:e94b9484-36dc-40d7-8890-0e292447ed07:localhost] 2022-07-12 08:15:05 | [Mutex] waiting for: [received:nodes:e94b9484-36dc-40d7-8890-0e292447ed07:localhost] 2022-07-12 08:15:05 | [Mutex] waiting for: [received:nodes:e94b9484-36dc-40d7-8890-0e292447ed07:localhost] 2022-07-12 08:15:05 | [Mutex] received everything. 2022-07-12 08:15:05 | [Mutex] isItemNotified: received:node:e94b9484-36dc-40d7-8890-0e292447ed07:localhost:node-a1da4efe-a7c2-47eb-89c7-12db47f44efe:Node a1da4efe-a7c2-47eb-89c7-12db47f44efe :: false |
createNodes | 1.390s |
2022-07-12 08:15:01 |
2022-07-12 08:15:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:01 | ------------------------------------ 2022-07-12 08:15:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a1da4efe-a7c2-47eb-89c7-12db47f44efe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a1da4efe-a7c2-47eb-89c7-12db47f44efe</title></pubsub></data> 2022-07-12 08:15:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 08:15:02 | [Mutex] waiting for: [received:nodes:0a5b2115-c31c-4e02-a9f8-bebf1a0844f8:localhost] 2022-07-12 08:15:03 | [Mutex] waiting for: [received:nodes:0a5b2115-c31c-4e02-a9f8-bebf1a0844f8:localhost] 2022-07-12 08:15:03 | [Mutex] received everything. 2022-07-12 08:15:03 | [Mutex] isItemNotified: received:node:0a5b2115-c31c-4e02-a9f8-bebf1a0844f8:localhost:node-a1da4efe-a7c2-47eb-89c7-12db47f44efe:Node a1da4efe-a7c2-47eb-89c7-12db47f44efe :: true |
createSubnodes | 1.022s |
2022-07-12 08:15:03 |
2022-07-12 08:15:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:03 | ------------------------------------ 2022-07-12 08:15:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1659a207-fd94-41e4-84c2-bf7af018b059</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1659a207-fd94-41e4-84c2-bf7af018b059</title></pubsub></data> 2022-07-12 08:15:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 08:15:04 | [Mutex] waiting for: [received:nodes:51c11006-04e7-4d23-ba48-89759edae114:localhost] 2022-07-12 08:15:04 | [Mutex] waiting for: [received:nodes:51c11006-04e7-4d23-ba48-89759edae114:localhost] 2022-07-12 08:15:04 | [Mutex] received everything. 2022-07-12 08:15:04 | [Mutex] isItemNotified: received:node:51c11006-04e7-4d23-ba48-89759edae114:localhost:node-1659a207-fd94-41e4-84c2-bf7af018b059:Node 1659a207-fd94-41e4-84c2-bf7af018b059 :: true |
deleteNodes | 1.020s |
2022-07-12 08:15:09 |
2022-07-12 08:15:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:09 | ------------------------------------ 2022-07-12 08:15:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1659a207-fd94-41e4-84c2-bf7af018b059</node></data> 2022-07-12 08:15:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 08:15:10 | [Mutex] waiting for: [received:nodes:edb75f01-0015-4e5a-9174-4331ed6290f3:localhost] 2022-07-12 08:15:10 | [Mutex] waiting for: [received:nodes:edb75f01-0015-4e5a-9174-4331ed6290f3:localhost] 2022-07-12 08:15:10 | [Mutex] received everything. 2022-07-12 08:15:10 | [Mutex] isItemNotified: received:node:edb75f01-0015-4e5a-9174-4331ed6290f3:localhost:node-1659a207-fd94-41e4-84c2-bf7af018b059:Node 1659a207-fd94-41e4-84c2-bf7af018b059 :: false |
deleteSubnodes | 1.163s |
2022-07-12 08:15:08 |
2022-07-12 08:15:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:08 | ------------------------------------ 2022-07-12 08:15:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a1da4efe-a7c2-47eb-89c7-12db47f44efe</node></data> 2022-07-12 08:15:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 08:15:09 | [Mutex] waiting for: [received:nodes:29238927-b6a7-4f07-b1ae-bdd1d1caa7f1:localhost] 2022-07-12 08:15:09 | [Mutex] waiting for: [received:nodes:29238927-b6a7-4f07-b1ae-bdd1d1caa7f1:localhost] 2022-07-12 08:15:09 | [Mutex] received everything. 2022-07-12 08:15:09 | [Mutex] isItemNotified: received:node:29238927-b6a7-4f07-b1ae-bdd1d1caa7f1:localhost:node-a1da4efe-a7c2-47eb-89c7-12db47f44efe:Node a1da4efe-a7c2-47eb-89c7-12db47f44efe :: false 2022-07-12 08:15:09 | [Mutex] waiting for: [received:nodes:d1a11a5e-f93b-40ec-8a4b-0ee7b7bf3578:localhost] 2022-07-12 08:15:09 | [Mutex] received everything. 2022-07-12 08:15:09 | [Mutex] isItemNotified: received:node:d1a11a5e-f93b-40ec-8a4b-0ee7b7bf3578:localhost:node-a1da4efe-a7c2-47eb-89c7-12db47f44efe:Node a1da4efe-a7c2-47eb-89c7-12db47f44efe :: false |
publishItemsToNodes | 0.188s |
2022-07-12 08:15:06 |
2022-07-12 08:15:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:06 | ------------------------------------ 2022-07-12 08:15:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a1da4efe-a7c2-47eb-89c7-12db47f44efe</node><item-id>item-b402a6f2-26ab-47de-88ab-ebfd8f8cb072</item-id><entry><test>item-b402a6f2-26ab-47de-88ab-ebfd8f8cb072</test></entry></data> 2022-07-12 08:15:06 | 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-b402a6f2-26ab-47de-88ab-ebfd8f8cb072</value></item-id></result> 2022-07-12 08:15:06 | [Mutex] waiting for: [published:item:notifieditem-b402a6f2-26ab-47de-88ab-ebfd8f8cb072:admin@test-domain.com] 2022-07-12 08:15:06 | [Mutex] received everything. 2022-07-12 08:15:06 | [Mutex] isItemNotified: published:item:notifieditem-b402a6f2-26ab-47de-88ab-ebfd8f8cb072:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2022-07-12 08:15:06 |
2022-07-12 08:15:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:06 | ------------------------------------ 2022-07-12 08:15:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a1da4efe-a7c2-47eb-89c7-12db47f44efe</node><item-id>item-b402a6f2-26ab-47de-88ab-ebfd8f8cb072</item-id></data> 2022-07-12 08:15:07 | 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-b402a6f2-26ab-47de-88ab-ebfd8f8cb072</value></item-id></result> 2022-07-12 08:15:07 | [Mutex] received everything. 2022-07-12 08:15:07 | [Mutex] isItemNotified: retracted:item:notifieditem-b402a6f2-26ab-47de-88ab-ebfd8f8cb072:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.317s |
2022-07-12 08:15:06 |
2022-07-12 08:15:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:06 | ------------------------------------ 2022-07-12 08:15:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a1da4efe-a7c2-47eb-89c7-12db47f44efe</node><item-id>item-b402a6f2-26ab-47de-88ab-ebfd8f8cb072</item-id></data> 2022-07-12 08:15:06 | 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-a1da4efe-a7c2-47eb-89c7-12db47f44efe</value></node><item-id type="text-single" label="Item ID"><value>item-b402a6f2-26ab-47de-88ab-ebfd8f8cb072</value></item-id><item type="text-multi" label="Item"><value><item id="item-b402a6f2-26ab-47de-88ab-ebfd8f8cb072"><test>item-b402a6f2-26ab-47de-88ab-ebfd8f8cb072</test></item></value></item></result> 2022-07-12 08:15:06 | [Mutex] notify: [retrieved:item:item-b402a6f2-26ab-47de-88ab-ebfd8f8cb072:payload-matches:true:localhost] 2022-07-12 08:15:06 | [Mutex] received everything. 2022-07-12 08:15:06 | [Mutex] isItemNotified: retrieved:item:item-b402a6f2-26ab-47de-88ab-ebfd8f8cb072:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-12 08:15:06 |
2022-07-12 08:15:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:06 | ------------------------------------ 2022-07-12 08:15:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-12 08:15:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-a1da4efe-a7c2-47eb-89c7-12db47f44efe</value><value>test</value><value>node-1659a207-fd94-41e4-84c2-bf7af018b059</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-12 08:15:06 |
2022-07-12 08:15:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:06 | ------------------------------------ 2022-07-12 08:15:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a1da4efe-a7c2-47eb-89c7-12db47f44efe)</node-pattern></data> 2022-07-12 08:15:06 | 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-07-12 08:15:05 |
2022-07-12 08:15:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:05 | ------------------------------------ 2022-07-12 08:15:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a1da4efe-a7c2-47eb-89c7-12db47f44efe</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-12 08:15:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.159s |
2022-07-12 08:15:07 |
2022-07-12 08:15:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:15:07 | ------------------------------------ 2022-07-12 08:15:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a1da4efe-a7c2-47eb-89c7-12db47f44efe</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-12 08:15:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |