Test duration : 10.299s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2021-12-20 22:29:10 |
2021-12-20 22:29:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:10 | ------------------------------------ 2021-12-20 22:29:10 | [Mutex] waiting for: [configured:node:node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a:node-f0db9892-f3e3-4c0e-ad1f-0b26a5514d59] 2021-12-20 22:29:10 | [Mutex] received everything. 2021-12-20 22:29:10 | [Mutex] isItemNotified: configured:node:node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a:node-f0db9892-f3e3-4c0e-ad1f-0b26a5514d59 :: true 2021-12-20 22:29:11 | [Mutex] waiting for: [received:nodes:a28f9e68-c055-4c4a-b343-5eef22aad8be:localhost] 2021-12-20 22:29:11 | [Mutex] waiting for: [received:nodes:a28f9e68-c055-4c4a-b343-5eef22aad8be:localhost] 2021-12-20 22:29:11 | [Mutex] received everything. 2021-12-20 22:29:11 | [Mutex] isItemNotified: received:node:a28f9e68-c055-4c4a-b343-5eef22aad8be:localhost:node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a:Node fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a :: true 2021-12-20 22:29:11 | [Mutex] waiting for: [received:nodes:9c0bfce2-ed03-4c4f-8002-734751917854:localhost] 2021-12-20 22:29:11 | [Mutex] received everything. 2021-12-20 22:29:11 | [Mutex] isItemNotified: received:node:9c0bfce2-ed03-4c4f-8002-734751917854:localhost:node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a:Node fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a :: false |
createNodes | 1.644s |
2021-12-20 22:29:07 |
2021-12-20 22:29:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:07 | ------------------------------------ 2021-12-20 22:29:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a</title></pubsub></data> 2021-12-20 22:29:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-20 22:29:09 | [Mutex] waiting for: [received:nodes:33c44518-d9c4-4654-9f04-f101258215da:localhost] 2021-12-20 22:29:09 | [Mutex] received everything. 2021-12-20 22:29:09 | [Mutex] isItemNotified: received:node:33c44518-d9c4-4654-9f04-f101258215da:localhost:node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a:Node fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a :: true |
createSubnodes | 1.031s |
2021-12-20 22:29:09 |
2021-12-20 22:29:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:09 | ------------------------------------ 2021-12-20 22:29:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f0db9892-f3e3-4c0e-ad1f-0b26a5514d59</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f0db9892-f3e3-4c0e-ad1f-0b26a5514d59</title></pubsub></data> 2021-12-20 22:29:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-20 22:29:10 | [Mutex] waiting for: [received:nodes:c0db7539-4759-4726-a42c-d2b2d778c1a7:localhost] 2021-12-20 22:29:10 | [Mutex] received everything. 2021-12-20 22:29:10 | [Mutex] isItemNotified: received:node:c0db7539-4759-4726-a42c-d2b2d778c1a7:localhost:node-f0db9892-f3e3-4c0e-ad1f-0b26a5514d59:Node f0db9892-f3e3-4c0e-ad1f-0b26a5514d59 :: true |
deleteNodes | 1.016s |
2021-12-20 22:29:15 |
2021-12-20 22:29:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:15 | ------------------------------------ 2021-12-20 22:29:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f0db9892-f3e3-4c0e-ad1f-0b26a5514d59</node></data> 2021-12-20 22:29:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-20 22:29:16 | [Mutex] waiting for: [received:nodes:36c1631b-688e-416b-be5f-1f7f61888998:localhost] 2021-12-20 22:29:16 | [Mutex] received everything. 2021-12-20 22:29:16 | [Mutex] isItemNotified: received:node:36c1631b-688e-416b-be5f-1f7f61888998:localhost:node-f0db9892-f3e3-4c0e-ad1f-0b26a5514d59:Node f0db9892-f3e3-4c0e-ad1f-0b26a5514d59 :: false |
deleteSubnodes | 1.160s |
2021-12-20 22:29:14 |
2021-12-20 22:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:14 | ------------------------------------ 2021-12-20 22:29:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a</node></data> 2021-12-20 22:29:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-20 22:29:15 | [Mutex] waiting for: [received:nodes:dc5492c8-e141-49e2-a502-6d6e15fb393d:localhost] 2021-12-20 22:29:15 | [Mutex] received everything. 2021-12-20 22:29:15 | [Mutex] isItemNotified: received:node:dc5492c8-e141-49e2-a502-6d6e15fb393d:localhost:node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a:Node fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a :: false 2021-12-20 22:29:15 | [Mutex] waiting for: [received:nodes:e2db3db4-0242-4238-a13e-6612e9165753:localhost] 2021-12-20 22:29:15 | [Mutex] received everything. 2021-12-20 22:29:15 | [Mutex] isItemNotified: received:node:e2db3db4-0242-4238-a13e-6612e9165753:localhost:node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a:Node fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a :: false |
publishItemsToNodes | 0.266s |
2021-12-20 22:29:12 |
2021-12-20 22:29:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:12 | ------------------------------------ 2021-12-20 22:29:12 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a</node><item-id>item-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa</item-id><entry><test>item-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa</test></entry></data> 2021-12-20 22:29:12 | 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-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa</value></item-id></result> 2021-12-20 22:29:12 | [Mutex] received everything. 2021-12-20 22:29:12 | [Mutex] isItemNotified: published:item:notifieditem-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa:admin@test-domain.com :: true |
retractItemsFromNodes | 0.295s |
2021-12-20 22:29:13 |
2021-12-20 22:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:13 | ------------------------------------ 2021-12-20 22:29:13 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a</node><item-id>item-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa</item-id></data> 2021-12-20 22:29:13 | 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-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa</value></item-id></result> 2021-12-20 22:29:13 | [Mutex] received everything. 2021-12-20 22:29:13 | [Mutex] isItemNotified: retracted:item:notifieditem-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.335s |
2021-12-20 22:29:12 |
2021-12-20 22:29:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:12 | ------------------------------------ 2021-12-20 22:29:12 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a</node><item-id>item-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa</item-id></data> 2021-12-20 22:29:13 | 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-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a</value></node><item-id type="text-single" label="Item ID"><value>item-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa</value></item-id><item type="text-multi" label="Item"><value><item id="item-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa"><test>item-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa</test></item></value></item></result> 2021-12-20 22:29:13 | [Mutex] notify: [retrieved:item:item-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa:payload-matches:true:localhost] 2021-12-20 22:29:13 | [Mutex] received everything. 2021-12-20 22:29:13 | [Mutex] isItemNotified: retrieved:item:item-821fc6b7-a1a7-4ceb-989d-e26b7ce379fa:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.060s |
2021-12-20 22:29:13 |
2021-12-20 22:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:13 | ------------------------------------ 2021-12-20 22:29:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-12-20 22:29:13 | 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-f0db9892-f3e3-4c0e-ad1f-0b26a5514d59</value><value>node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-12-20 22:29:13 |
2021-12-20 22:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:13 | ------------------------------------ 2021-12-20 22:29:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a)</node-pattern></data> 2021-12-20 22:29:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.186s |
2021-12-20 22:29:11 |
2021-12-20 22:29:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:11 | ------------------------------------ 2021-12-20 22:29:11 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-20 22:29:11 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.261s |
2021-12-20 22:29:13 |
2021-12-20 22:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 22:29:13 | ------------------------------------ 2021-12-20 22:29:13 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-fca73228-c3a2-45e6-b55c-8a2b3d9c4e4a</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-20 22:29:13 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |