Test duration : 9.271s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.085s |
2023-03-06 07:34:53 |
2023-03-06 07:34:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:53 | ------------------------------------ 2023-03-06 07:34:53 | [Mutex] waiting for: [configured:node:node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b:node-60cfe496-a0c0-414d-9467-9efb20fa35c9] 2023-03-06 07:34:53 | [Mutex] received everything. 2023-03-06 07:34:53 | [Mutex] isItemNotified: configured:node:node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b:node-60cfe496-a0c0-414d-9467-9efb20fa35c9 :: true 2023-03-06 07:34:54 | [Mutex] waiting for: [received:nodes:48418994-a77a-42bd-b3ff-bdd7a7ce5121:localhost] 2023-03-06 07:34:54 | [Mutex] received everything. 2023-03-06 07:34:54 | [Mutex] isItemNotified: received:node:48418994-a77a-42bd-b3ff-bdd7a7ce5121:localhost:node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b:Node 5b59b217-e0a5-4d7b-8664-6017bc73ff3b :: true 2023-03-06 07:34:54 | [Mutex] waiting for: [received:nodes:f35e4cf6-a61d-4470-b1e7-830e6d1635f9:localhost] 2023-03-06 07:34:54 | [Mutex] waiting for: [received:nodes:f35e4cf6-a61d-4470-b1e7-830e6d1635f9:localhost] 2023-03-06 07:34:54 | [Mutex] waiting for: [received:nodes:f35e4cf6-a61d-4470-b1e7-830e6d1635f9:localhost] 2023-03-06 07:34:54 | [Mutex] waiting for: [received:nodes:f35e4cf6-a61d-4470-b1e7-830e6d1635f9:localhost] 2023-03-06 07:34:54 | [Mutex] received everything. 2023-03-06 07:34:54 | [Mutex] isItemNotified: received:node:f35e4cf6-a61d-4470-b1e7-830e6d1635f9:localhost:node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b:Node 5b59b217-e0a5-4d7b-8664-6017bc73ff3b :: false |
createNodes | 1.391s |
2023-03-06 07:34:51 |
2023-03-06 07:34:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:51 | ------------------------------------ 2023-03-06 07:34:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5b59b217-e0a5-4d7b-8664-6017bc73ff3b</title></pubsub></data> 2023-03-06 07:34:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 07:34:52 | [Mutex] waiting for: [received:nodes:2fa3e3f9-a7db-459a-b9d0-36e3924b6c16:localhost] 2023-03-06 07:34:52 | [Mutex] waiting for: [received:nodes:2fa3e3f9-a7db-459a-b9d0-36e3924b6c16:localhost] 2023-03-06 07:34:52 | [Mutex] waiting for: [received:nodes:2fa3e3f9-a7db-459a-b9d0-36e3924b6c16:localhost] 2023-03-06 07:34:52 | [Mutex] received everything. 2023-03-06 07:34:52 | [Mutex] isItemNotified: received:node:2fa3e3f9-a7db-459a-b9d0-36e3924b6c16:localhost:node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b:Node 5b59b217-e0a5-4d7b-8664-6017bc73ff3b :: true |
createSubnodes | 1.020s |
2023-03-06 07:34:52 |
2023-03-06 07:34:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:52 | ------------------------------------ 2023-03-06 07:34:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-60cfe496-a0c0-414d-9467-9efb20fa35c9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 60cfe496-a0c0-414d-9467-9efb20fa35c9</title></pubsub></data> 2023-03-06 07:34:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 07:34:53 | [Mutex] waiting for: [received:nodes:3d631b6a-7f57-4c98-9a8b-1289d821c9c4:localhost] 2023-03-06 07:34:53 | [Mutex] waiting for: [received:nodes:3d631b6a-7f57-4c98-9a8b-1289d821c9c4:localhost] 2023-03-06 07:34:53 | [Mutex] waiting for: [received:nodes:3d631b6a-7f57-4c98-9a8b-1289d821c9c4:localhost] 2023-03-06 07:34:53 | [Mutex] received everything. 2023-03-06 07:34:53 | [Mutex] isItemNotified: received:node:3d631b6a-7f57-4c98-9a8b-1289d821c9c4:localhost:node-60cfe496-a0c0-414d-9467-9efb20fa35c9:Node 60cfe496-a0c0-414d-9467-9efb20fa35c9 :: true |
deleteNodes | 1.024s |
2023-03-06 07:34:58 |
2023-03-06 07:34:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:58 | ------------------------------------ 2023-03-06 07:34:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-60cfe496-a0c0-414d-9467-9efb20fa35c9</node></data> 2023-03-06 07:34:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 07:34:59 | [Mutex] waiting for: [received:nodes:40835fa3-1b37-43df-b496-a822bab28e92:localhost] 2023-03-06 07:34:59 | [Mutex] waiting for: [received:nodes:40835fa3-1b37-43df-b496-a822bab28e92:localhost] 2023-03-06 07:34:59 | [Mutex] waiting for: [received:nodes:40835fa3-1b37-43df-b496-a822bab28e92:localhost] 2023-03-06 07:34:59 | [Mutex] received everything. 2023-03-06 07:34:59 | [Mutex] isItemNotified: received:node:40835fa3-1b37-43df-b496-a822bab28e92:localhost:node-60cfe496-a0c0-414d-9467-9efb20fa35c9:Node 60cfe496-a0c0-414d-9467-9efb20fa35c9 :: false |
deleteSubnodes | 1.146s |
2023-03-06 07:34:57 |
2023-03-06 07:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:57 | ------------------------------------ 2023-03-06 07:34:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b</node></data> 2023-03-06 07:34:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 07:34:58 | [Mutex] waiting for: [received:nodes:af929340-2c12-4af2-b2fe-9f0f010cc6d0:localhost] 2023-03-06 07:34:58 | [Mutex] waiting for: [received:nodes:af929340-2c12-4af2-b2fe-9f0f010cc6d0:localhost] 2023-03-06 07:34:58 | [Mutex] waiting for: [received:nodes:af929340-2c12-4af2-b2fe-9f0f010cc6d0:localhost] 2023-03-06 07:34:58 | [Mutex] waiting for: [received:nodes:af929340-2c12-4af2-b2fe-9f0f010cc6d0:localhost] 2023-03-06 07:34:58 | [Mutex] received everything. 2023-03-06 07:34:58 | [Mutex] isItemNotified: received:node:af929340-2c12-4af2-b2fe-9f0f010cc6d0:localhost:node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b:Node 5b59b217-e0a5-4d7b-8664-6017bc73ff3b :: false 2023-03-06 07:34:58 | [Mutex] waiting for: [received:nodes:c8c4ff9d-a899-4203-963c-b9503cb84139:localhost] 2023-03-06 07:34:58 | [Mutex] received everything. 2023-03-06 07:34:58 | [Mutex] isItemNotified: received:node:c8c4ff9d-a899-4203-963c-b9503cb84139:localhost:node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b:Node 5b59b217-e0a5-4d7b-8664-6017bc73ff3b :: false |
publishItemsToNodes | 0.224s |
2023-03-06 07:34:55 |
2023-03-06 07:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:55 | ------------------------------------ 2023-03-06 07:34:55 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b</node><item-id>item-6a163602-c850-40b7-a810-dae7f398f040</item-id><entry><test>item-6a163602-c850-40b7-a810-dae7f398f040</test></entry></data> 2023-03-06 07:34:55 | 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-6a163602-c850-40b7-a810-dae7f398f040</value></item-id></result> 2023-03-06 07:34:55 | [Mutex] received everything. 2023-03-06 07:34:55 | [Mutex] isItemNotified: published:item:notifieditem-6a163602-c850-40b7-a810-dae7f398f040:admin@test-domain.com :: true |
retractItemsFromNodes | 0.247s |
2023-03-06 07:34:56 |
2023-03-06 07:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:56 | ------------------------------------ 2023-03-06 07:34:56 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b</node><item-id>item-6a163602-c850-40b7-a810-dae7f398f040</item-id></data> 2023-03-06 07:34:56 | 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-6a163602-c850-40b7-a810-dae7f398f040</value></item-id></result> 2023-03-06 07:34:56 | [Mutex] received everything. 2023-03-06 07:34:56 | [Mutex] isItemNotified: retracted:item:notifieditem-6a163602-c850-40b7-a810-dae7f398f040:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.183s |
2023-03-06 07:34:55 |
2023-03-06 07:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:55 | ------------------------------------ 2023-03-06 07:34:55 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b</node><item-id>item-6a163602-c850-40b7-a810-dae7f398f040</item-id></data> 2023-03-06 07:34: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-5b59b217-e0a5-4d7b-8664-6017bc73ff3b</value></node><item-id type="text-single" label="Item ID"><value>item-6a163602-c850-40b7-a810-dae7f398f040</value></item-id><item type="text-multi" label="Item"><value><item id="item-6a163602-c850-40b7-a810-dae7f398f040"><test>item-6a163602-c850-40b7-a810-dae7f398f040</test></item></value></item></result> 2023-03-06 07:34:56 | [Mutex] notify: [retrieved:item:item-6a163602-c850-40b7-a810-dae7f398f040:payload-matches:true:localhost] 2023-03-06 07:34:56 | [Mutex] received everything. 2023-03-06 07:34:56 | [Mutex] isItemNotified: retrieved:item:item-6a163602-c850-40b7-a810-dae7f398f040:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-06 07:34:56 |
2023-03-06 07:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:56 | ------------------------------------ 2023-03-06 07:34:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-06 07:34:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-60cfe496-a0c0-414d-9467-9efb20fa35c9</value><value>test</value><value>node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2023-03-06 07:34:56 |
2023-03-06 07:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:56 | ------------------------------------ 2023-03-06 07:34: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-5b59b217-e0a5-4d7b-8664-6017bc73ff3b)</node-pattern></data> 2023-03-06 07:34:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2023-03-06 07:34:54 |
2023-03-06 07:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:54 | ------------------------------------ 2023-03-06 07:34:54 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-06 07:34:54 | 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 |
2023-03-06 07:34:56 |
2023-03-06 07:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:34:56 | ------------------------------------ 2023-03-06 07:34:56 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5b59b217-e0a5-4d7b-8664-6017bc73ff3b</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-06 07:34:56 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |