Test duration : 9.466s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.087s |
2022-08-09 23:07:34 |
2022-08-09 23:07:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:34 | ------------------------------------ 2022-08-09 23:07:34 | [Mutex] waiting for: [configured:node:node-6017e1fc-2e37-444d-92fe-fd84175fb56b:node-0d48da50-b925-46d8-a609-a37f900ac290] 2022-08-09 23:07:34 | [Mutex] received everything. 2022-08-09 23:07:34 | [Mutex] isItemNotified: configured:node:node-6017e1fc-2e37-444d-92fe-fd84175fb56b:node-0d48da50-b925-46d8-a609-a37f900ac290 :: true 2022-08-09 23:07:35 | [Mutex] waiting for: [received:nodes:25698f2a-4ccb-4807-b912-b851ab291240:localhost] 2022-08-09 23:07:35 | [Mutex] received everything. 2022-08-09 23:07:35 | [Mutex] isItemNotified: received:node:25698f2a-4ccb-4807-b912-b851ab291240:localhost:node-6017e1fc-2e37-444d-92fe-fd84175fb56b:Node 6017e1fc-2e37-444d-92fe-fd84175fb56b :: true 2022-08-09 23:07:35 | [Mutex] waiting for: [received:nodes:2f1c9b64-d5e3-40a0-9203-177747996be9:localhost] 2022-08-09 23:07:35 | [Mutex] waiting for: [received:nodes:2f1c9b64-d5e3-40a0-9203-177747996be9:localhost] 2022-08-09 23:07:35 | [Mutex] received everything. 2022-08-09 23:07:35 | [Mutex] isItemNotified: received:node:2f1c9b64-d5e3-40a0-9203-177747996be9:localhost:node-6017e1fc-2e37-444d-92fe-fd84175fb56b:Node 6017e1fc-2e37-444d-92fe-fd84175fb56b :: false |
createNodes | 1.476s |
2022-08-09 23:07:31 |
2022-08-09 23:07:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:31 | ------------------------------------ 2022-08-09 23:07:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6017e1fc-2e37-444d-92fe-fd84175fb56b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6017e1fc-2e37-444d-92fe-fd84175fb56b</title></pubsub></data> 2022-08-09 23:07:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 23:07:33 | [Mutex] waiting for: [received:nodes:0f88d18a-5334-4630-8f7c-492d4f95ef20:localhost] 2022-08-09 23:07:33 | [Mutex] received everything. 2022-08-09 23:07:33 | [Mutex] isItemNotified: received:node:0f88d18a-5334-4630-8f7c-492d4f95ef20:localhost:node-6017e1fc-2e37-444d-92fe-fd84175fb56b:Node 6017e1fc-2e37-444d-92fe-fd84175fb56b :: true |
createSubnodes | 1.023s |
2022-08-09 23:07:33 |
2022-08-09 23:07:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:33 | ------------------------------------ 2022-08-09 23:07:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0d48da50-b925-46d8-a609-a37f900ac290</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0d48da50-b925-46d8-a609-a37f900ac290</title></pubsub></data> 2022-08-09 23:07:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 23:07:34 | [Mutex] waiting for: [received:nodes:3d380c40-17ab-4129-9c36-7146b1a0ec29:localhost] 2022-08-09 23:07:34 | [Mutex] waiting for: [received:nodes:3d380c40-17ab-4129-9c36-7146b1a0ec29:localhost] 2022-08-09 23:07:34 | [Mutex] waiting for: [received:nodes:3d380c40-17ab-4129-9c36-7146b1a0ec29:localhost] 2022-08-09 23:07:34 | [Mutex] received everything. 2022-08-09 23:07:34 | [Mutex] isItemNotified: received:node:3d380c40-17ab-4129-9c36-7146b1a0ec29:localhost:node-0d48da50-b925-46d8-a609-a37f900ac290:Node 0d48da50-b925-46d8-a609-a37f900ac290 :: true |
deleteNodes | 1.017s |
2022-08-09 23:07:39 |
2022-08-09 23:07:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:39 | ------------------------------------ 2022-08-09 23:07:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0d48da50-b925-46d8-a609-a37f900ac290</node></data> 2022-08-09 23:07:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 23:07:40 | [Mutex] waiting for: [received:nodes:36760b25-1b22-477f-85a1-912e170375d4:localhost] 2022-08-09 23:07:40 | [Mutex] received everything. 2022-08-09 23:07:40 | [Mutex] isItemNotified: received:node:36760b25-1b22-477f-85a1-912e170375d4:localhost:node-0d48da50-b925-46d8-a609-a37f900ac290:Node 0d48da50-b925-46d8-a609-a37f900ac290 :: false |
deleteSubnodes | 1.148s |
2022-08-09 23:07:38 |
2022-08-09 23:07:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:38 | ------------------------------------ 2022-08-09 23:07:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6017e1fc-2e37-444d-92fe-fd84175fb56b</node></data> 2022-08-09 23:07:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 23:07:39 | [Mutex] waiting for: [received:nodes:ee2775df-a40e-4d08-a29b-e7203bd50188:localhost] 2022-08-09 23:07:39 | [Mutex] received everything. 2022-08-09 23:07:39 | [Mutex] isItemNotified: received:node:ee2775df-a40e-4d08-a29b-e7203bd50188:localhost:node-6017e1fc-2e37-444d-92fe-fd84175fb56b:Node 6017e1fc-2e37-444d-92fe-fd84175fb56b :: false 2022-08-09 23:07:39 | [Mutex] waiting for: [received:nodes:ce924f22-f214-4115-816e-337d9f345d47:localhost] 2022-08-09 23:07:39 | [Mutex] received everything. 2022-08-09 23:07:39 | [Mutex] isItemNotified: received:node:ce924f22-f214-4115-816e-337d9f345d47:localhost:node-6017e1fc-2e37-444d-92fe-fd84175fb56b:Node 6017e1fc-2e37-444d-92fe-fd84175fb56b :: false |
publishItemsToNodes | 0.257s |
2022-08-09 23:07:36 |
2022-08-09 23:07:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:36 | ------------------------------------ 2022-08-09 23:07:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-6017e1fc-2e37-444d-92fe-fd84175fb56b</node><item-id>item-93d3dd43-eda9-4dca-ae2e-27efe9d4527f</item-id><entry><test>item-93d3dd43-eda9-4dca-ae2e-27efe9d4527f</test></entry></data> 2022-08-09 23:07:36 | 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-93d3dd43-eda9-4dca-ae2e-27efe9d4527f</value></item-id></result> 2022-08-09 23:07:36 | [Mutex] received everything. 2022-08-09 23:07:36 | [Mutex] isItemNotified: published:item:notifieditem-93d3dd43-eda9-4dca-ae2e-27efe9d4527f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.199s |
2022-08-09 23:07:36 |
2022-08-09 23:07:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:36 | ------------------------------------ 2022-08-09 23:07:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-6017e1fc-2e37-444d-92fe-fd84175fb56b</node><item-id>item-93d3dd43-eda9-4dca-ae2e-27efe9d4527f</item-id></data> 2022-08-09 23:07:37 | 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-93d3dd43-eda9-4dca-ae2e-27efe9d4527f</value></item-id></result> 2022-08-09 23:07:37 | [Mutex] received everything. 2022-08-09 23:07:37 | [Mutex] isItemNotified: retracted:item:notifieditem-93d3dd43-eda9-4dca-ae2e-27efe9d4527f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.200s |
2022-08-09 23:07:36 |
2022-08-09 23:07:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:36 | ------------------------------------ 2022-08-09 23:07:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-6017e1fc-2e37-444d-92fe-fd84175fb56b</node><item-id>item-93d3dd43-eda9-4dca-ae2e-27efe9d4527f</item-id></data> 2022-08-09 23:07:36 | 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-6017e1fc-2e37-444d-92fe-fd84175fb56b</value></node><item-id label="Item ID" type="text-single"><value>item-93d3dd43-eda9-4dca-ae2e-27efe9d4527f</value></item-id><item label="Item" type="text-multi"><value><item id="item-93d3dd43-eda9-4dca-ae2e-27efe9d4527f"><test>item-93d3dd43-eda9-4dca-ae2e-27efe9d4527f</test></item></value></item></result> 2022-08-09 23:07:36 | [Mutex] notify: [retrieved:item:item-93d3dd43-eda9-4dca-ae2e-27efe9d4527f:payload-matches:true:localhost] 2022-08-09 23:07:36 | [Mutex] received everything. 2022-08-09 23:07:36 | [Mutex] isItemNotified: retrieved:item:item-93d3dd43-eda9-4dca-ae2e-27efe9d4527f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-09 23:07:36 |
2022-08-09 23:07:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:36 | ------------------------------------ 2022-08-09 23:07:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-09 23:07:36 | 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-0d48da50-b925-46d8-a609-a37f900ac290</value><value>node-6017e1fc-2e37-444d-92fe-fd84175fb56b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-09 23:07:36 |
2022-08-09 23:07:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:36 | ------------------------------------ 2022-08-09 23:07:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6017e1fc-2e37-444d-92fe-fd84175fb56b)</node-pattern></data> 2022-08-09 23:07:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.113s |
2022-08-09 23:07:35 |
2022-08-09 23:07:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:35 | ------------------------------------ 2022-08-09 23:07:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-6017e1fc-2e37-444d-92fe-fd84175fb56b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-09 23:07:35 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.235s |
2022-08-09 23:07:37 |
2022-08-09 23:07:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:07:37 | ------------------------------------ 2022-08-09 23:07:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-6017e1fc-2e37-444d-92fe-fd84175fb56b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-09 23:07:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |