Test duration : 9.398s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2023-03-06 09:08:03 |
2023-03-06 09:08:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:03 | ------------------------------------ 2023-03-06 09:08:03 | [Mutex] waiting for: [configured:node:node-629b2b17-5df3-45ed-b535-1b48531488a1:node-0054fad6-7e26-44d1-8171-1e69696741d3] 2023-03-06 09:08:03 | [Mutex] received everything. 2023-03-06 09:08:03 | [Mutex] isItemNotified: configured:node:node-629b2b17-5df3-45ed-b535-1b48531488a1:node-0054fad6-7e26-44d1-8171-1e69696741d3 :: true 2023-03-06 09:08:04 | [Mutex] waiting for: [received:nodes:e1d25113-7b30-4856-934c-2e5626390902:localhost] 2023-03-06 09:08:04 | [Mutex] received everything. 2023-03-06 09:08:04 | [Mutex] isItemNotified: received:node:e1d25113-7b30-4856-934c-2e5626390902:localhost:node-629b2b17-5df3-45ed-b535-1b48531488a1:Node 629b2b17-5df3-45ed-b535-1b48531488a1 :: true 2023-03-06 09:08:04 | [Mutex] waiting for: [received:nodes:7db081b2-6c42-427b-b5b4-9ad825a0ddd0:localhost] 2023-03-06 09:08:04 | [Mutex] waiting for: [received:nodes:7db081b2-6c42-427b-b5b4-9ad825a0ddd0:localhost] 2023-03-06 09:08:04 | [Mutex] waiting for: [received:nodes:7db081b2-6c42-427b-b5b4-9ad825a0ddd0:localhost] 2023-03-06 09:08:04 | [Mutex] received everything. 2023-03-06 09:08:04 | [Mutex] isItemNotified: received:node:7db081b2-6c42-427b-b5b4-9ad825a0ddd0:localhost:node-629b2b17-5df3-45ed-b535-1b48531488a1:Node 629b2b17-5df3-45ed-b535-1b48531488a1 :: false |
createNodes | 1.426s |
2023-03-06 09:08:01 |
2023-03-06 09:08:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:01 | ------------------------------------ 2023-03-06 09:08:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-629b2b17-5df3-45ed-b535-1b48531488a1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 629b2b17-5df3-45ed-b535-1b48531488a1</title></pubsub></data> 2023-03-06 09:08:01 | 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 09:08:02 | [Mutex] waiting for: [received:nodes:cd3c84d1-e8c9-41d8-a9c0-3ae4ab6f8a28:localhost] 2023-03-06 09:08:02 | [Mutex] waiting for: [received:nodes:cd3c84d1-e8c9-41d8-a9c0-3ae4ab6f8a28:localhost] 2023-03-06 09:08:02 | [Mutex] waiting for: [received:nodes:cd3c84d1-e8c9-41d8-a9c0-3ae4ab6f8a28:localhost] 2023-03-06 09:08:02 | [Mutex] waiting for: [received:nodes:cd3c84d1-e8c9-41d8-a9c0-3ae4ab6f8a28:localhost] 2023-03-06 09:08:02 | [Mutex] received everything. 2023-03-06 09:08:02 | [Mutex] isItemNotified: received:node:cd3c84d1-e8c9-41d8-a9c0-3ae4ab6f8a28:localhost:node-629b2b17-5df3-45ed-b535-1b48531488a1:Node 629b2b17-5df3-45ed-b535-1b48531488a1 :: true |
createSubnodes | 1.024s |
2023-03-06 09:08:02 |
2023-03-06 09:08:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:02 | ------------------------------------ 2023-03-06 09:08:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0054fad6-7e26-44d1-8171-1e69696741d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0054fad6-7e26-44d1-8171-1e69696741d3</title></pubsub></data> 2023-03-06 09:08:02 | 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 09:08:03 | [Mutex] waiting for: [received:nodes:297ed147-07b9-4d82-a217-b669657efb79:localhost] 2023-03-06 09:08:03 | [Mutex] waiting for: [received:nodes:297ed147-07b9-4d82-a217-b669657efb79:localhost] 2023-03-06 09:08:03 | [Mutex] waiting for: [received:nodes:297ed147-07b9-4d82-a217-b669657efb79:localhost] 2023-03-06 09:08:03 | [Mutex] received everything. 2023-03-06 09:08:03 | [Mutex] isItemNotified: received:node:297ed147-07b9-4d82-a217-b669657efb79:localhost:node-0054fad6-7e26-44d1-8171-1e69696741d3:Node 0054fad6-7e26-44d1-8171-1e69696741d3 :: true |
deleteNodes | 1.018s |
2023-03-06 09:08:09 |
2023-03-06 09:08:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:09 | ------------------------------------ 2023-03-06 09:08:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0054fad6-7e26-44d1-8171-1e69696741d3</node></data> 2023-03-06 09:08:09 | 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 09:08:10 | [Mutex] waiting for: [received:nodes:f1b3a996-1832-4b4a-95d3-88475ba95bec:localhost] 2023-03-06 09:08:10 | [Mutex] waiting for: [received:nodes:f1b3a996-1832-4b4a-95d3-88475ba95bec:localhost] 2023-03-06 09:08:10 | [Mutex] waiting for: [received:nodes:f1b3a996-1832-4b4a-95d3-88475ba95bec:localhost] 2023-03-06 09:08:10 | [Mutex] received everything. 2023-03-06 09:08:10 | [Mutex] isItemNotified: received:node:f1b3a996-1832-4b4a-95d3-88475ba95bec:localhost:node-0054fad6-7e26-44d1-8171-1e69696741d3:Node 0054fad6-7e26-44d1-8171-1e69696741d3 :: false |
deleteSubnodes | 1.107s |
2023-03-06 09:08:08 |
2023-03-06 09:08:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:08 | ------------------------------------ 2023-03-06 09:08:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-629b2b17-5df3-45ed-b535-1b48531488a1</node></data> 2023-03-06 09:08:08 | 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 09:08:09 | [Mutex] waiting for: [received:nodes:12a453be-0e13-4547-86ad-3a038ddf90ff:localhost] 2023-03-06 09:08:09 | [Mutex] waiting for: [received:nodes:12a453be-0e13-4547-86ad-3a038ddf90ff:localhost] 2023-03-06 09:08:09 | [Mutex] waiting for: [received:nodes:12a453be-0e13-4547-86ad-3a038ddf90ff:localhost] 2023-03-06 09:08:09 | [Mutex] waiting for: [received:nodes:12a453be-0e13-4547-86ad-3a038ddf90ff:localhost] 2023-03-06 09:08:09 | [Mutex] received everything. 2023-03-06 09:08:09 | [Mutex] isItemNotified: received:node:12a453be-0e13-4547-86ad-3a038ddf90ff:localhost:node-629b2b17-5df3-45ed-b535-1b48531488a1:Node 629b2b17-5df3-45ed-b535-1b48531488a1 :: false 2023-03-06 09:08:09 | [Mutex] waiting for: [received:nodes:f7c50118-def3-4420-b92b-ccb5ee9dad5a:localhost] 2023-03-06 09:08:09 | [Mutex] received everything. 2023-03-06 09:08:09 | [Mutex] isItemNotified: received:node:f7c50118-def3-4420-b92b-ccb5ee9dad5a:localhost:node-629b2b17-5df3-45ed-b535-1b48531488a1:Node 629b2b17-5df3-45ed-b535-1b48531488a1 :: false |
publishItemsToNodes | 0.207s |
2023-03-06 09:08:05 |
2023-03-06 09:08:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:05 | ------------------------------------ 2023-03-06 09:08:05 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-629b2b17-5df3-45ed-b535-1b48531488a1</node><item-id>item-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e</item-id><entry><test>item-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e</test></entry></data> 2023-03-06 09:08:06 | 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-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e</value></item-id></result> 2023-03-06 09:08:06 | [Mutex] received everything. 2023-03-06 09:08:06 | [Mutex] isItemNotified: published:item:notifieditem-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.273s |
2023-03-06 09:08:06 |
2023-03-06 09:08:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:06 | ------------------------------------ 2023-03-06 09:08:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-629b2b17-5df3-45ed-b535-1b48531488a1</node><item-id>item-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e</item-id></data> 2023-03-06 09:08:06 | 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-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e</value></item-id></result> 2023-03-06 09:08:06 | [Mutex] received everything. 2023-03-06 09:08:06 | [Mutex] isItemNotified: retracted:item:notifieditem-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.219s |
2023-03-06 09:08:06 |
2023-03-06 09:08:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:06 | ------------------------------------ 2023-03-06 09:08:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-629b2b17-5df3-45ed-b535-1b48531488a1</node><item-id>item-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e</item-id></data> 2023-03-06 09:08:06 | 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-629b2b17-5df3-45ed-b535-1b48531488a1</value></node><item-id label="Item ID" type="text-single"><value>item-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e</value></item-id><item label="Item" type="text-multi"><value><item id="item-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e"><test>item-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e</test></item></value></item></result> 2023-03-06 09:08:06 | [Mutex] notify: [retrieved:item:item-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e:payload-matches:true:localhost] 2023-03-06 09:08:06 | [Mutex] received everything. 2023-03-06 09:08:06 | [Mutex] isItemNotified: retrieved:item:item-cfc3758e-1ba6-47e5-b3f0-59820fc4e98e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-06 09:08:06 |
2023-03-06 09:08:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:06 | ------------------------------------ 2023-03-06 09:08:06 | 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 09:08:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-629b2b17-5df3-45ed-b535-1b48531488a1</value><value>node-0054fad6-7e26-44d1-8171-1e69696741d3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2023-03-06 09:08:06 |
2023-03-06 09:08:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:06 | ------------------------------------ 2023-03-06 09:08:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-629b2b17-5df3-45ed-b535-1b48531488a1)</node-pattern></data> 2023-03-06 09:08:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.117s |
2023-03-06 09:08:04 |
2023-03-06 09:08:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:04 | ------------------------------------ 2023-03-06 09:08:04 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-629b2b17-5df3-45ed-b535-1b48531488a1</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-06 09:08:04 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.212s |
2023-03-06 09:08:06 |
2023-03-06 09:08:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:06 | ------------------------------------ 2023-03-06 09:08:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-629b2b17-5df3-45ed-b535-1b48531488a1</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-06 09:08:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |