Test duration : 9.373s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.089s |
2023-03-14 22:29:47 |
2023-03-14 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:47 | ------------------------------------ 2023-03-14 22:29:47 | [Mutex] waiting for: [configured:node:node-b5c71923-b2ae-4597-941d-28fc1dad0410:node-2f3eff3e-12fa-4dcf-9d62-87ea17573d13] 2023-03-14 22:29:47 | [Mutex] received everything. 2023-03-14 22:29:47 | [Mutex] isItemNotified: configured:node:node-b5c71923-b2ae-4597-941d-28fc1dad0410:node-2f3eff3e-12fa-4dcf-9d62-87ea17573d13 :: true 2023-03-14 22:29:48 | [Mutex] waiting for: [received:nodes:f1efe92e-d88a-48e4-8b75-a4f9fade3bb7:localhost] 2023-03-14 22:29:48 | [Mutex] received everything. 2023-03-14 22:29:48 | [Mutex] isItemNotified: received:node:f1efe92e-d88a-48e4-8b75-a4f9fade3bb7:localhost:node-b5c71923-b2ae-4597-941d-28fc1dad0410:Node b5c71923-b2ae-4597-941d-28fc1dad0410 :: true 2023-03-14 22:29:48 | [Mutex] waiting for: [received:nodes:44631591-14ea-49f7-b393-8a000adcc4f2:localhost] 2023-03-14 22:29:48 | [Mutex] waiting for: [received:nodes:44631591-14ea-49f7-b393-8a000adcc4f2:localhost] 2023-03-14 22:29:48 | [Mutex] waiting for: [received:nodes:44631591-14ea-49f7-b393-8a000adcc4f2:localhost] 2023-03-14 22:29:48 | [Mutex] received everything. 2023-03-14 22:29:48 | [Mutex] isItemNotified: received:node:44631591-14ea-49f7-b393-8a000adcc4f2:localhost:node-b5c71923-b2ae-4597-941d-28fc1dad0410:Node b5c71923-b2ae-4597-941d-28fc1dad0410 :: false |
createNodes | 1.327s |
2023-03-14 22:29:45 |
2023-03-14 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:45 | ------------------------------------ 2023-03-14 22:29:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b5c71923-b2ae-4597-941d-28fc1dad0410</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b5c71923-b2ae-4597-941d-28fc1dad0410</title></pubsub></data> 2023-03-14 22:29:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-14 22:29:46 | [Mutex] waiting for: [received:nodes:77bf268d-b887-43b6-be17-718e3bb9c713:localhost] 2023-03-14 22:29:46 | [Mutex] waiting for: [received:nodes:77bf268d-b887-43b6-be17-718e3bb9c713:localhost] 2023-03-14 22:29:46 | [Mutex] waiting for: [received:nodes:77bf268d-b887-43b6-be17-718e3bb9c713:localhost] 2023-03-14 22:29:46 | [Mutex] waiting for: [received:nodes:77bf268d-b887-43b6-be17-718e3bb9c713:localhost] 2023-03-14 22:29:46 | [Mutex] received everything. 2023-03-14 22:29:46 | [Mutex] isItemNotified: received:node:77bf268d-b887-43b6-be17-718e3bb9c713:localhost:node-b5c71923-b2ae-4597-941d-28fc1dad0410:Node b5c71923-b2ae-4597-941d-28fc1dad0410 :: true |
createSubnodes | 1.025s |
2023-03-14 22:29:46 |
2023-03-14 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:46 | ------------------------------------ 2023-03-14 22:29:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2f3eff3e-12fa-4dcf-9d62-87ea17573d13</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2f3eff3e-12fa-4dcf-9d62-87ea17573d13</title></pubsub></data> 2023-03-14 22:29:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-14 22:29:47 | [Mutex] waiting for: [received:nodes:d6933b5c-860a-4411-8d55-b77a5fc88a06:localhost] 2023-03-14 22:29:47 | [Mutex] waiting for: [received:nodes:d6933b5c-860a-4411-8d55-b77a5fc88a06:localhost] 2023-03-14 22:29:47 | [Mutex] waiting for: [received:nodes:d6933b5c-860a-4411-8d55-b77a5fc88a06:localhost] 2023-03-14 22:29:47 | [Mutex] waiting for: [received:nodes:d6933b5c-860a-4411-8d55-b77a5fc88a06:localhost] 2023-03-14 22:29:47 | [Mutex] waiting for: [received:nodes:d6933b5c-860a-4411-8d55-b77a5fc88a06:localhost] 2023-03-14 22:29:47 | [Mutex] received everything. 2023-03-14 22:29:47 | [Mutex] isItemNotified: received:node:d6933b5c-860a-4411-8d55-b77a5fc88a06:localhost:node-2f3eff3e-12fa-4dcf-9d62-87ea17573d13:Node 2f3eff3e-12fa-4dcf-9d62-87ea17573d13 :: true |
deleteNodes | 1.024s |
2023-03-14 22:29:53 |
2023-03-14 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:53 | ------------------------------------ 2023-03-14 22:29:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2f3eff3e-12fa-4dcf-9d62-87ea17573d13</node></data> 2023-03-14 22:29:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-14 22:29:54 | [Mutex] waiting for: [received:nodes:9610cf80-8a57-4bb3-92e5-0840261ec680:localhost] 2023-03-14 22:29:54 | [Mutex] waiting for: [received:nodes:9610cf80-8a57-4bb3-92e5-0840261ec680:localhost] 2023-03-14 22:29:54 | [Mutex] waiting for: [received:nodes:9610cf80-8a57-4bb3-92e5-0840261ec680:localhost] 2023-03-14 22:29:54 | [Mutex] received everything. 2023-03-14 22:29:54 | [Mutex] isItemNotified: received:node:9610cf80-8a57-4bb3-92e5-0840261ec680:localhost:node-2f3eff3e-12fa-4dcf-9d62-87ea17573d13:Node 2f3eff3e-12fa-4dcf-9d62-87ea17573d13 :: false |
deleteSubnodes | 1.108s |
2023-03-14 22:29:51 |
2023-03-14 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:51 | ------------------------------------ 2023-03-14 22:29:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b5c71923-b2ae-4597-941d-28fc1dad0410</node></data> 2023-03-14 22:29:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-14 22:29:53 | [Mutex] waiting for: [received:nodes:6f79fe1f-fb12-4f08-b6ee-d50de5b20d1f:localhost] 2023-03-14 22:29:53 | [Mutex] received everything. 2023-03-14 22:29:53 | [Mutex] isItemNotified: received:node:6f79fe1f-fb12-4f08-b6ee-d50de5b20d1f:localhost:node-b5c71923-b2ae-4597-941d-28fc1dad0410:Node b5c71923-b2ae-4597-941d-28fc1dad0410 :: false 2023-03-14 22:29:53 | [Mutex] waiting for: [received:nodes:27858d02-b867-4f4e-aa69-af08ee2a92a7:localhost] 2023-03-14 22:29:53 | [Mutex] received everything. 2023-03-14 22:29:53 | [Mutex] isItemNotified: received:node:27858d02-b867-4f4e-aa69-af08ee2a92a7:localhost:node-b5c71923-b2ae-4597-941d-28fc1dad0410:Node b5c71923-b2ae-4597-941d-28fc1dad0410 :: false |
publishItemsToNodes | 0.248s |
2023-03-14 22:29:49 |
2023-03-14 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:49 | ------------------------------------ 2023-03-14 22:29:49 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b5c71923-b2ae-4597-941d-28fc1dad0410</node><item-id>item-e669a527-faf9-46ee-b831-95b269e64530</item-id><entry><test>item-e669a527-faf9-46ee-b831-95b269e64530</test></entry></data> 2023-03-14 22:29:50 | 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-e669a527-faf9-46ee-b831-95b269e64530</value></item-id></result> 2023-03-14 22:29:50 | [Mutex] waiting for: [published:item:notifieditem-e669a527-faf9-46ee-b831-95b269e64530:admin@test-domain.com] 2023-03-14 22:29:50 | [Mutex] received everything. 2023-03-14 22:29:50 | [Mutex] isItemNotified: published:item:notifieditem-e669a527-faf9-46ee-b831-95b269e64530:admin@test-domain.com :: true |
retractItemsFromNodes | 0.351s |
2023-03-14 22:29:50 |
2023-03-14 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:50 | ------------------------------------ 2023-03-14 22:29:50 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b5c71923-b2ae-4597-941d-28fc1dad0410</node><item-id>item-e669a527-faf9-46ee-b831-95b269e64530</item-id></data> 2023-03-14 22:29:50 | 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-e669a527-faf9-46ee-b831-95b269e64530</value></item-id></result> 2023-03-14 22:29:50 | [Mutex] received everything. 2023-03-14 22:29:50 | [Mutex] isItemNotified: retracted:item:notifieditem-e669a527-faf9-46ee-b831-95b269e64530:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.119s |
2023-03-14 22:29:50 |
2023-03-14 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:50 | ------------------------------------ 2023-03-14 22:29:50 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b5c71923-b2ae-4597-941d-28fc1dad0410</node><item-id>item-e669a527-faf9-46ee-b831-95b269e64530</item-id></data> 2023-03-14 22:29:50 | 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-b5c71923-b2ae-4597-941d-28fc1dad0410</value></node><item-id type="text-single" label="Item ID"><value>item-e669a527-faf9-46ee-b831-95b269e64530</value></item-id><item type="text-multi" label="Item"><value><item id="item-e669a527-faf9-46ee-b831-95b269e64530"><test>item-e669a527-faf9-46ee-b831-95b269e64530</test></item></value></item></result> 2023-03-14 22:29:50 | [Mutex] notify: [retrieved:item:item-e669a527-faf9-46ee-b831-95b269e64530:payload-matches:true:localhost] 2023-03-14 22:29:50 | [Mutex] received everything. 2023-03-14 22:29:50 | [Mutex] isItemNotified: retrieved:item:item-e669a527-faf9-46ee-b831-95b269e64530:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2023-03-14 22:29:50 |
2023-03-14 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:50 | ------------------------------------ 2023-03-14 22:29:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-14 22:29:50 | 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-b5c71923-b2ae-4597-941d-28fc1dad0410</value><value>node-2f3eff3e-12fa-4dcf-9d62-87ea17573d13</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-03-14 22:29:50 |
2023-03-14 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:50 | ------------------------------------ 2023-03-14 22:29:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b5c71923-b2ae-4597-941d-28fc1dad0410)</node-pattern></data> 2023-03-14 22:29:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.101s |
2023-03-14 22:29:48 |
2023-03-14 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:48 | ------------------------------------ 2023-03-14 22:29:48 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b5c71923-b2ae-4597-941d-28fc1dad0410</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-14 22:29:48 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.183s |
2023-03-14 22:29:50 |
2023-03-14 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 22:29:50 | ------------------------------------ 2023-03-14 22:29:50 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b5c71923-b2ae-4597-941d-28fc1dad0410</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-14 22:29:50 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |