Test duration : 9.525s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2022-07-07 22:32:00 |
2022-07-07 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:00 | ------------------------------------ 2022-07-07 22:32:00 | [Mutex] waiting for: [configured:node:node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108:node-2f4a15cf-be38-48ed-a920-29e1f525ced3] 2022-07-07 22:32:00 | [Mutex] received everything. 2022-07-07 22:32:00 | [Mutex] isItemNotified: configured:node:node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108:node-2f4a15cf-be38-48ed-a920-29e1f525ced3 :: true 2022-07-07 22:32:01 | [Mutex] waiting for: [received:nodes:eaa165d8-f5fc-4ed2-a0c2-8044c36bb7ce:localhost] 2022-07-07 22:32:01 | [Mutex] received everything. 2022-07-07 22:32:01 | [Mutex] isItemNotified: received:node:eaa165d8-f5fc-4ed2-a0c2-8044c36bb7ce:localhost:node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108:Node 6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108 :: true 2022-07-07 22:32:01 | [Mutex] waiting for: [received:nodes:de50162e-6c03-4f2c-9c90-cbe2b26c6425:localhost] 2022-07-07 22:32:01 | [Mutex] received everything. 2022-07-07 22:32:01 | [Mutex] isItemNotified: received:node:de50162e-6c03-4f2c-9c90-cbe2b26c6425:localhost:node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108:Node 6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108 :: false |
createNodes | 1.359s |
2022-07-07 22:31:58 |
2022-07-07 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:31:58 | ------------------------------------ 2022-07-07 22:31:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108</title></pubsub></data> 2022-07-07 22:31:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-07 22:31:59 | [Mutex] waiting for: [received:nodes:5f8576be-d852-4560-911e-223e7f82d7c0:localhost] 2022-07-07 22:31:59 | [Mutex] waiting for: [received:nodes:5f8576be-d852-4560-911e-223e7f82d7c0:localhost] 2022-07-07 22:31:59 | [Mutex] received everything. 2022-07-07 22:31:59 | [Mutex] isItemNotified: received:node:5f8576be-d852-4560-911e-223e7f82d7c0:localhost:node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108:Node 6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108 :: true |
createSubnodes | 1.025s |
2022-07-07 22:31:59 |
2022-07-07 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:31:59 | ------------------------------------ 2022-07-07 22:31:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2f4a15cf-be38-48ed-a920-29e1f525ced3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2f4a15cf-be38-48ed-a920-29e1f525ced3</title></pubsub></data> 2022-07-07 22:31:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-07 22:32:00 | [Mutex] waiting for: [received:nodes:ec05bb1f-def2-4e49-b37e-3b2672928068:localhost] 2022-07-07 22:32:00 | [Mutex] received everything. 2022-07-07 22:32:00 | [Mutex] isItemNotified: received:node:ec05bb1f-def2-4e49-b37e-3b2672928068:localhost:node-2f4a15cf-be38-48ed-a920-29e1f525ced3:Node 2f4a15cf-be38-48ed-a920-29e1f525ced3 :: true |
deleteNodes | 1.018s |
2022-07-07 22:32:06 |
2022-07-07 22:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:06 | ------------------------------------ 2022-07-07 22:32:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2f4a15cf-be38-48ed-a920-29e1f525ced3</node></data> 2022-07-07 22:32:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-07 22:32:07 | [Mutex] waiting for: [received:nodes:0effc100-ed16-4980-ac34-47fdef5ef741:localhost] 2022-07-07 22:32:07 | [Mutex] waiting for: [received:nodes:0effc100-ed16-4980-ac34-47fdef5ef741:localhost] 2022-07-07 22:32:07 | [Mutex] received everything. 2022-07-07 22:32:07 | [Mutex] isItemNotified: received:node:0effc100-ed16-4980-ac34-47fdef5ef741:localhost:node-2f4a15cf-be38-48ed-a920-29e1f525ced3:Node 2f4a15cf-be38-48ed-a920-29e1f525ced3 :: false |
deleteSubnodes | 1.141s |
2022-07-07 22:32:05 |
2022-07-07 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:05 | ------------------------------------ 2022-07-07 22:32:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108</node></data> 2022-07-07 22:32:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-07 22:32:06 | [Mutex] waiting for: [received:nodes:8effd0d7-7a56-49f3-ad37-748eac874c74:localhost] 2022-07-07 22:32:06 | [Mutex] waiting for: [received:nodes:8effd0d7-7a56-49f3-ad37-748eac874c74:localhost] 2022-07-07 22:32:06 | [Mutex] waiting for: [received:nodes:8effd0d7-7a56-49f3-ad37-748eac874c74:localhost] 2022-07-07 22:32:06 | [Mutex] waiting for: [received:nodes:8effd0d7-7a56-49f3-ad37-748eac874c74:localhost] 2022-07-07 22:32:06 | [Mutex] received everything. 2022-07-07 22:32:06 | [Mutex] isItemNotified: received:node:8effd0d7-7a56-49f3-ad37-748eac874c74:localhost:node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108:Node 6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108 :: false 2022-07-07 22:32:06 | [Mutex] waiting for: [received:nodes:ecdf61af-2261-46de-8523-51fc673dc18a:localhost] 2022-07-07 22:32:06 | [Mutex] received everything. 2022-07-07 22:32:06 | [Mutex] isItemNotified: received:node:ecdf61af-2261-46de-8523-51fc673dc18a:localhost:node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108:Node 6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108 :: false |
publishItemsToNodes | 0.189s |
2022-07-07 22:32:03 |
2022-07-07 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:03 | ------------------------------------ 2022-07-07 22:32:03 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108</node><item-id>item-b209dac1-04ea-4c52-9f66-60bc86e7cf58</item-id><entry><test>item-b209dac1-04ea-4c52-9f66-60bc86e7cf58</test></entry></data> 2022-07-07 22:32:03 | 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-b209dac1-04ea-4c52-9f66-60bc86e7cf58</value></item-id></result> 2022-07-07 22:32:03 | [Mutex] waiting for: [published:item:notifieditem-b209dac1-04ea-4c52-9f66-60bc86e7cf58:admin@test-domain.com] 2022-07-07 22:32:03 | [Mutex] received everything. 2022-07-07 22:32:03 | [Mutex] isItemNotified: published:item:notifieditem-b209dac1-04ea-4c52-9f66-60bc86e7cf58:admin@test-domain.com :: true |
retractItemsFromNodes | 0.299s |
2022-07-07 22:32:03 |
2022-07-07 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:03 | ------------------------------------ 2022-07-07 22:32:03 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108</node><item-id>item-b209dac1-04ea-4c52-9f66-60bc86e7cf58</item-id></data> 2022-07-07 22:32:03 | 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-b209dac1-04ea-4c52-9f66-60bc86e7cf58</value></item-id></result> 2022-07-07 22:32:03 | [Mutex] received everything. 2022-07-07 22:32:03 | [Mutex] isItemNotified: retracted:item:notifieditem-b209dac1-04ea-4c52-9f66-60bc86e7cf58:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.312s |
2022-07-07 22:32:03 |
2022-07-07 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:03 | ------------------------------------ 2022-07-07 22:32:03 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108</node><item-id>item-b209dac1-04ea-4c52-9f66-60bc86e7cf58</item-id></data> 2022-07-07 22:32:03 | 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-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108</value></node><item-id type="text-single" label="Item ID"><value>item-b209dac1-04ea-4c52-9f66-60bc86e7cf58</value></item-id><item type="text-multi" label="Item"><value><item id="item-b209dac1-04ea-4c52-9f66-60bc86e7cf58"><test>item-b209dac1-04ea-4c52-9f66-60bc86e7cf58</test></item></value></item></result> 2022-07-07 22:32:03 | [Mutex] notify: [retrieved:item:item-b209dac1-04ea-4c52-9f66-60bc86e7cf58:payload-matches:true:localhost] 2022-07-07 22:32:03 | [Mutex] received everything. 2022-07-07 22:32:03 | [Mutex] isItemNotified: retrieved:item:item-b209dac1-04ea-4c52-9f66-60bc86e7cf58:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-07 22:32:03 |
2022-07-07 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:03 | ------------------------------------ 2022-07-07 22:32:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-07 22:32:03 | 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-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108</value><value>node-2f4a15cf-be38-48ed-a920-29e1f525ced3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-07 22:32:03 |
2022-07-07 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:03 | ------------------------------------ 2022-07-07 22:32:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108)</node-pattern></data> 2022-07-07 22:32:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.122s |
2022-07-07 22:32:01 |
2022-07-07 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:01 | ------------------------------------ 2022-07-07 22:32:01 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-07 22:32:02 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.151s |
2022-07-07 22:32:03 |
2022-07-07 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:03 | ------------------------------------ 2022-07-07 22:32:03 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-6a5f9ae0-a8b7-4a5b-b2e6-a9753ea60108</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-07 22:32:04 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |