Test duration : 9.438s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2022-10-10 22:43:42 |
2022-10-10 22:43:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:42 | ------------------------------------ 2022-10-10 22:43:42 | [Mutex] waiting for: [configured:node:node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae:node-9e327e6e-316c-4c17-8e00-d52517d0d233] 2022-10-10 22:43:42 | [Mutex] received everything. 2022-10-10 22:43:42 | [Mutex] isItemNotified: configured:node:node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae:node-9e327e6e-316c-4c17-8e00-d52517d0d233 :: true 2022-10-10 22:43:43 | [Mutex] waiting for: [received:nodes:65ef5d3b-143e-4e2d-9299-f4e37855383a:localhost] 2022-10-10 22:43:43 | [Mutex] received everything. 2022-10-10 22:43:43 | [Mutex] isItemNotified: received:node:65ef5d3b-143e-4e2d-9299-f4e37855383a:localhost:node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae:Node a90bb2d9-e1b4-4895-aedf-39fa7b98cfae :: true 2022-10-10 22:43:43 | [Mutex] waiting for: [received:nodes:143cc426-d4ab-4632-95ef-f8f54e985186:localhost] 2022-10-10 22:43:43 | [Mutex] waiting for: [received:nodes:143cc426-d4ab-4632-95ef-f8f54e985186:localhost] 2022-10-10 22:43:43 | [Mutex] received everything. 2022-10-10 22:43:43 | [Mutex] isItemNotified: received:node:143cc426-d4ab-4632-95ef-f8f54e985186:localhost:node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae:Node a90bb2d9-e1b4-4895-aedf-39fa7b98cfae :: false |
createNodes | 1.455s |
2022-10-10 22:43:39 |
2022-10-10 22:43:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:39 | ------------------------------------ 2022-10-10 22:43:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a90bb2d9-e1b4-4895-aedf-39fa7b98cfae</title></pubsub></data> 2022-10-10 22:43:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 22:43:41 | [Mutex] waiting for: [received:nodes:c76db240-c710-48a9-b6ba-226c476f6780:localhost] 2022-10-10 22:43:41 | [Mutex] received everything. 2022-10-10 22:43:41 | [Mutex] isItemNotified: received:node:c76db240-c710-48a9-b6ba-226c476f6780:localhost:node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae:Node a90bb2d9-e1b4-4895-aedf-39fa7b98cfae :: true |
createSubnodes | 1.019s |
2022-10-10 22:43:41 |
2022-10-10 22:43:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:41 | ------------------------------------ 2022-10-10 22:43:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9e327e6e-316c-4c17-8e00-d52517d0d233</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9e327e6e-316c-4c17-8e00-d52517d0d233</title></pubsub></data> 2022-10-10 22:43:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 22:43:42 | [Mutex] waiting for: [received:nodes:c45eec97-27a6-4f4b-a6cc-fc948ee11e77:localhost] 2022-10-10 22:43:42 | [Mutex] received everything. 2022-10-10 22:43:42 | [Mutex] isItemNotified: received:node:c45eec97-27a6-4f4b-a6cc-fc948ee11e77:localhost:node-9e327e6e-316c-4c17-8e00-d52517d0d233:Node 9e327e6e-316c-4c17-8e00-d52517d0d233 :: true |
deleteNodes | 1.016s |
2022-10-10 22:43:47 |
2022-10-10 22:43:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:47 | ------------------------------------ 2022-10-10 22:43:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9e327e6e-316c-4c17-8e00-d52517d0d233</node></data> 2022-10-10 22:43:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 22:43:48 | [Mutex] waiting for: [received:nodes:328812ac-601e-4ca6-aa1a-786454710339:localhost] 2022-10-10 22:43:48 | [Mutex] waiting for: [received:nodes:328812ac-601e-4ca6-aa1a-786454710339:localhost] 2022-10-10 22:43:48 | [Mutex] received everything. 2022-10-10 22:43:48 | [Mutex] isItemNotified: received:node:328812ac-601e-4ca6-aa1a-786454710339:localhost:node-9e327e6e-316c-4c17-8e00-d52517d0d233:Node 9e327e6e-316c-4c17-8e00-d52517d0d233 :: false |
deleteSubnodes | 1.144s |
2022-10-10 22:43:46 |
2022-10-10 22:43:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:46 | ------------------------------------ 2022-10-10 22:43:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae</node></data> 2022-10-10 22:43:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 22:43:47 | [Mutex] waiting for: [received:nodes:e0cb4508-2084-45bd-8df3-3c23ca58e6e4:localhost] 2022-10-10 22:43:47 | [Mutex] waiting for: [received:nodes:e0cb4508-2084-45bd-8df3-3c23ca58e6e4:localhost] 2022-10-10 22:43:47 | [Mutex] received everything. 2022-10-10 22:43:47 | [Mutex] isItemNotified: received:node:e0cb4508-2084-45bd-8df3-3c23ca58e6e4:localhost:node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae:Node a90bb2d9-e1b4-4895-aedf-39fa7b98cfae :: false 2022-10-10 22:43:47 | [Mutex] waiting for: [received:nodes:06b9f392-4f1c-4a99-af56-698675c85f08:localhost] 2022-10-10 22:43:47 | [Mutex] received everything. 2022-10-10 22:43:47 | [Mutex] isItemNotified: received:node:06b9f392-4f1c-4a99-af56-698675c85f08:localhost:node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae:Node a90bb2d9-e1b4-4895-aedf-39fa7b98cfae :: false |
publishItemsToNodes | 0.177s |
2022-10-10 22:43:44 |
2022-10-10 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:44 | ------------------------------------ 2022-10-10 22:43:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae</node><item-id>item-326c2564-af10-4d76-bbae-a41e76feb5cb</item-id><entry><test>item-326c2564-af10-4d76-bbae-a41e76feb5cb</test></entry></data> 2022-10-10 22:43:44 | 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-326c2564-af10-4d76-bbae-a41e76feb5cb</value></item-id></result> 2022-10-10 22:43:44 | [Mutex] received everything. 2022-10-10 22:43:44 | [Mutex] isItemNotified: published:item:notifieditem-326c2564-af10-4d76-bbae-a41e76feb5cb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.332s |
2022-10-10 22:43:45 |
2022-10-10 22:43:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:45 | ------------------------------------ 2022-10-10 22:43:45 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae</node><item-id>item-326c2564-af10-4d76-bbae-a41e76feb5cb</item-id></data> 2022-10-10 22:43:45 | 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-326c2564-af10-4d76-bbae-a41e76feb5cb</value></item-id></result> 2022-10-10 22:43:45 | [Mutex] waiting for: [retracted:item:notifieditem-326c2564-af10-4d76-bbae-a41e76feb5cb:admin@test-domain.com] 2022-10-10 22:43:45 | [Mutex] received everything. 2022-10-10 22:43:45 | [Mutex] isItemNotified: retracted:item:notifieditem-326c2564-af10-4d76-bbae-a41e76feb5cb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.167s |
2022-10-10 22:43:44 |
2022-10-10 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:44 | ------------------------------------ 2022-10-10 22:43:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae</node><item-id>item-326c2564-af10-4d76-bbae-a41e76feb5cb</item-id></data> 2022-10-10 22:43:44 | 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-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae</value></node><item-id label="Item ID" type="text-single"><value>item-326c2564-af10-4d76-bbae-a41e76feb5cb</value></item-id><item label="Item" type="text-multi"><value><item id="item-326c2564-af10-4d76-bbae-a41e76feb5cb"><test>item-326c2564-af10-4d76-bbae-a41e76feb5cb</test></item></value></item></result> 2022-10-10 22:43:44 | [Mutex] notify: [retrieved:item:item-326c2564-af10-4d76-bbae-a41e76feb5cb:payload-matches:true:localhost] 2022-10-10 22:43:44 | [Mutex] received everything. 2022-10-10 22:43:44 | [Mutex] isItemNotified: retrieved:item:item-326c2564-af10-4d76-bbae-a41e76feb5cb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-10-10 22:43:44 |
2022-10-10 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:44 | ------------------------------------ 2022-10-10 22:43:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-10-10 22:43:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-9e327e6e-316c-4c17-8e00-d52517d0d233</value><value>test</value><value>node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-10-10 22:43:44 |
2022-10-10 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:44 | ------------------------------------ 2022-10-10 22:43:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae)</node-pattern></data> 2022-10-10 22:43:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.105s |
2022-10-10 22:43:43 |
2022-10-10 22:43:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:43 | ------------------------------------ 2022-10-10 22:43:43 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-10 22:43:43 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.147s |
2022-10-10 22:43:45 |
2022-10-10 22:43:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:43:45 | ------------------------------------ 2022-10-10 22:43:45 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a90bb2d9-e1b4-4895-aedf-39fa7b98cfae</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-10 22:43:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |