Test duration : 9.530s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2022-10-06 22:43:54 |
2022-10-06 22:43:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:54 | ------------------------------------ 2022-10-06 22:43:54 | [Mutex] waiting for: [configured:node:node-8de3fa6e-45de-484c-8ccd-b5fe90f73123:node-f82b8f79-2c70-4eaa-89da-c08f76b737c3] 2022-10-06 22:43:54 | [Mutex] received everything. 2022-10-06 22:43:54 | [Mutex] isItemNotified: configured:node:node-8de3fa6e-45de-484c-8ccd-b5fe90f73123:node-f82b8f79-2c70-4eaa-89da-c08f76b737c3 :: true 2022-10-06 22:43:55 | [Mutex] waiting for: [received:nodes:feed86f9-d182-4669-8b18-0509cf40651f:localhost] 2022-10-06 22:43:55 | [Mutex] received everything. 2022-10-06 22:43:55 | [Mutex] isItemNotified: received:node:feed86f9-d182-4669-8b18-0509cf40651f:localhost:node-8de3fa6e-45de-484c-8ccd-b5fe90f73123:Node 8de3fa6e-45de-484c-8ccd-b5fe90f73123 :: true 2022-10-06 22:43:55 | [Mutex] waiting for: [received:nodes:a9e16c5b-787c-423f-9e16-ad816e8b65fa:localhost] 2022-10-06 22:43:55 | [Mutex] received everything. 2022-10-06 22:43:55 | [Mutex] isItemNotified: received:node:a9e16c5b-787c-423f-9e16-ad816e8b65fa:localhost:node-8de3fa6e-45de-484c-8ccd-b5fe90f73123:Node 8de3fa6e-45de-484c-8ccd-b5fe90f73123 :: false |
createNodes | 1.427s |
2022-10-06 22:43:51 |
2022-10-06 22:43:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:51 | ------------------------------------ 2022-10-06 22:43:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8de3fa6e-45de-484c-8ccd-b5fe90f73123</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8de3fa6e-45de-484c-8ccd-b5fe90f73123</title></pubsub></data> 2022-10-06 22:43:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-06 22:43:53 | [Mutex] waiting for: [received:nodes:a4f51635-55fe-4487-a249-69b0a20baf37:localhost] 2022-10-06 22:43:53 | [Mutex] received everything. 2022-10-06 22:43:53 | [Mutex] isItemNotified: received:node:a4f51635-55fe-4487-a249-69b0a20baf37:localhost:node-8de3fa6e-45de-484c-8ccd-b5fe90f73123:Node 8de3fa6e-45de-484c-8ccd-b5fe90f73123 :: true |
createSubnodes | 1.022s |
2022-10-06 22:43:53 |
2022-10-06 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:53 | ------------------------------------ 2022-10-06 22:43:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f82b8f79-2c70-4eaa-89da-c08f76b737c3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f82b8f79-2c70-4eaa-89da-c08f76b737c3</title></pubsub></data> 2022-10-06 22:43:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-06 22:43:54 | [Mutex] waiting for: [received:nodes:6e08a42a-1e0f-414d-b3a2-610488f52fe8:localhost] 2022-10-06 22:43:54 | [Mutex] received everything. 2022-10-06 22:43:54 | [Mutex] isItemNotified: received:node:6e08a42a-1e0f-414d-b3a2-610488f52fe8:localhost:node-f82b8f79-2c70-4eaa-89da-c08f76b737c3:Node f82b8f79-2c70-4eaa-89da-c08f76b737c3 :: true |
deleteNodes | 1.017s |
2022-10-06 22:43:59 |
2022-10-06 22:43:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:59 | ------------------------------------ 2022-10-06 22:43:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f82b8f79-2c70-4eaa-89da-c08f76b737c3</node></data> 2022-10-06 22:43:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-06 22:44:00 | [Mutex] waiting for: [received:nodes:84ee3975-a3da-4b88-ae67-22ffade32b27:localhost] 2022-10-06 22:44:00 | [Mutex] waiting for: [received:nodes:84ee3975-a3da-4b88-ae67-22ffade32b27:localhost] 2022-10-06 22:44:00 | [Mutex] received everything. 2022-10-06 22:44:00 | [Mutex] isItemNotified: received:node:84ee3975-a3da-4b88-ae67-22ffade32b27:localhost:node-f82b8f79-2c70-4eaa-89da-c08f76b737c3:Node f82b8f79-2c70-4eaa-89da-c08f76b737c3 :: false |
deleteSubnodes | 1.181s |
2022-10-06 22:43:58 |
2022-10-06 22:43:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:58 | ------------------------------------ 2022-10-06 22:43:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8de3fa6e-45de-484c-8ccd-b5fe90f73123</node></data> 2022-10-06 22:43:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-06 22:43:59 | [Mutex] waiting for: [received:nodes:7f0024cb-b60f-4663-947c-d4b75c22a880:localhost] 2022-10-06 22:43:59 | [Mutex] waiting for: [received:nodes:7f0024cb-b60f-4663-947c-d4b75c22a880:localhost] 2022-10-06 22:43:59 | [Mutex] waiting for: [received:nodes:7f0024cb-b60f-4663-947c-d4b75c22a880:localhost] 2022-10-06 22:43:59 | [Mutex] waiting for: [received:nodes:7f0024cb-b60f-4663-947c-d4b75c22a880:localhost] 2022-10-06 22:43:59 | [Mutex] received everything. 2022-10-06 22:43:59 | [Mutex] isItemNotified: received:node:7f0024cb-b60f-4663-947c-d4b75c22a880:localhost:node-8de3fa6e-45de-484c-8ccd-b5fe90f73123:Node 8de3fa6e-45de-484c-8ccd-b5fe90f73123 :: false 2022-10-06 22:43:59 | [Mutex] waiting for: [received:nodes:f333cbef-f842-4a36-b604-3b54049ed4c1:localhost] 2022-10-06 22:43:59 | [Mutex] received everything. 2022-10-06 22:43:59 | [Mutex] isItemNotified: received:node:f333cbef-f842-4a36-b604-3b54049ed4c1:localhost:node-8de3fa6e-45de-484c-8ccd-b5fe90f73123:Node 8de3fa6e-45de-484c-8ccd-b5fe90f73123 :: false |
publishItemsToNodes | 0.205s |
2022-10-06 22:43:56 |
2022-10-06 22:43:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:56 | ------------------------------------ 2022-10-06 22:43:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8de3fa6e-45de-484c-8ccd-b5fe90f73123</node><item-id>item-785706e8-4977-4e4a-8547-eec159b25918</item-id><entry><test>item-785706e8-4977-4e4a-8547-eec159b25918</test></entry></data> 2022-10-06 22:43:56 | 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-785706e8-4977-4e4a-8547-eec159b25918</value></item-id></result> 2022-10-06 22:43:56 | [Mutex] received everything. 2022-10-06 22:43:56 | [Mutex] isItemNotified: published:item:notifieditem-785706e8-4977-4e4a-8547-eec159b25918:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2022-10-06 22:43:56 |
2022-10-06 22:43:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:56 | ------------------------------------ 2022-10-06 22:43:56 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8de3fa6e-45de-484c-8ccd-b5fe90f73123</node><item-id>item-785706e8-4977-4e4a-8547-eec159b25918</item-id></data> 2022-10-06 22:43:57 | 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-785706e8-4977-4e4a-8547-eec159b25918</value></item-id></result> 2022-10-06 22:43:57 | [Mutex] received everything. 2022-10-06 22:43:57 | [Mutex] isItemNotified: retracted:item:notifieditem-785706e8-4977-4e4a-8547-eec159b25918:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.269s |
2022-10-06 22:43:56 |
2022-10-06 22:43:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:56 | ------------------------------------ 2022-10-06 22:43:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8de3fa6e-45de-484c-8ccd-b5fe90f73123</node><item-id>item-785706e8-4977-4e4a-8547-eec159b25918</item-id></data> 2022-10-06 22:43:56 | 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-8de3fa6e-45de-484c-8ccd-b5fe90f73123</value></node><item-id type="text-single" label="Item ID"><value>item-785706e8-4977-4e4a-8547-eec159b25918</value></item-id><item type="text-multi" label="Item"><value><item id="item-785706e8-4977-4e4a-8547-eec159b25918"><test>item-785706e8-4977-4e4a-8547-eec159b25918</test></item></value></item></result> 2022-10-06 22:43:56 | [Mutex] notify: [retrieved:item:item-785706e8-4977-4e4a-8547-eec159b25918:payload-matches:true:localhost] 2022-10-06 22:43:56 | [Mutex] received everything. 2022-10-06 22:43:56 | [Mutex] isItemNotified: retrieved:item:item-785706e8-4977-4e4a-8547-eec159b25918:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-10-06 22:43:56 |
2022-10-06 22:43:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:56 | ------------------------------------ 2022-10-06 22:43:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-10-06 22:43:56 | 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-8de3fa6e-45de-484c-8ccd-b5fe90f73123</value><value>node-f82b8f79-2c70-4eaa-89da-c08f76b737c3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-10-06 22:43:56 |
2022-10-06 22:43:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:56 | ------------------------------------ 2022-10-06 22:43:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8de3fa6e-45de-484c-8ccd-b5fe90f73123)</node-pattern></data> 2022-10-06 22:43:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.155s |
2022-10-06 22:43:55 |
2022-10-06 22:43:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:55 | ------------------------------------ 2022-10-06 22:43:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8de3fa6e-45de-484c-8ccd-b5fe90f73123</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-06 22:43:55 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2022-10-06 22:43:57 |
2022-10-06 22:43:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:43:57 | ------------------------------------ 2022-10-06 22:43:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8de3fa6e-45de-484c-8ccd-b5fe90f73123</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-06 22:43:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |