Test duration : 9.422s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2022-07-17 22:32:05 |
2022-07-17 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:05 | ------------------------------------ 2022-07-17 22:32:05 | [Mutex] waiting for: [configured:node:node-19453372-74e1-491f-9855-77f82782b5d5:node-f9afb5e9-46d6-4741-bc36-5f2aced3163f] 2022-07-17 22:32:05 | [Mutex] received everything. 2022-07-17 22:32:05 | [Mutex] isItemNotified: configured:node:node-19453372-74e1-491f-9855-77f82782b5d5:node-f9afb5e9-46d6-4741-bc36-5f2aced3163f :: true 2022-07-17 22:32:06 | [Mutex] waiting for: [received:nodes:92c2a077-5b01-44a2-bf44-e160d2344e9c:localhost] 2022-07-17 22:32:06 | [Mutex] received everything. 2022-07-17 22:32:06 | [Mutex] isItemNotified: received:node:92c2a077-5b01-44a2-bf44-e160d2344e9c:localhost:node-19453372-74e1-491f-9855-77f82782b5d5:Node 19453372-74e1-491f-9855-77f82782b5d5 :: true 2022-07-17 22:32:06 | [Mutex] waiting for: [received:nodes:2ecef696-9ee2-48e9-ac58-c181610b9e69:localhost] 2022-07-17 22:32:06 | [Mutex] waiting for: [received:nodes:2ecef696-9ee2-48e9-ac58-c181610b9e69:localhost] 2022-07-17 22:32:06 | [Mutex] received everything. 2022-07-17 22:32:06 | [Mutex] isItemNotified: received:node:2ecef696-9ee2-48e9-ac58-c181610b9e69:localhost:node-19453372-74e1-491f-9855-77f82782b5d5:Node 19453372-74e1-491f-9855-77f82782b5d5 :: false |
createNodes | 1.375s |
2022-07-17 22:32:03 |
2022-07-17 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:03 | ------------------------------------ 2022-07-17 22:32:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-19453372-74e1-491f-9855-77f82782b5d5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 19453372-74e1-491f-9855-77f82782b5d5</title></pubsub></data> 2022-07-17 22:32:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-17 22:32:04 | [Mutex] waiting for: [received:nodes:e3b61c96-0eb4-4862-b553-0548f8a9a435:localhost] 2022-07-17 22:32:04 | [Mutex] waiting for: [received:nodes:e3b61c96-0eb4-4862-b553-0548f8a9a435:localhost] 2022-07-17 22:32:04 | [Mutex] received everything. 2022-07-17 22:32:04 | [Mutex] isItemNotified: received:node:e3b61c96-0eb4-4862-b553-0548f8a9a435:localhost:node-19453372-74e1-491f-9855-77f82782b5d5:Node 19453372-74e1-491f-9855-77f82782b5d5 :: true |
createSubnodes | 1.024s |
2022-07-17 22:32:04 |
2022-07-17 22:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:04 | ------------------------------------ 2022-07-17 22:32:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f9afb5e9-46d6-4741-bc36-5f2aced3163f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f9afb5e9-46d6-4741-bc36-5f2aced3163f</title></pubsub></data> 2022-07-17 22:32:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-17 22:32:05 | [Mutex] waiting for: [received:nodes:c2da6b50-1d3f-4b23-812c-1e4af81300f0:localhost] 2022-07-17 22:32:05 | [Mutex] waiting for: [received:nodes:c2da6b50-1d3f-4b23-812c-1e4af81300f0:localhost] 2022-07-17 22:32:05 | [Mutex] waiting for: [received:nodes:c2da6b50-1d3f-4b23-812c-1e4af81300f0:localhost] 2022-07-17 22:32:05 | [Mutex] received everything. 2022-07-17 22:32:05 | [Mutex] isItemNotified: received:node:c2da6b50-1d3f-4b23-812c-1e4af81300f0:localhost:node-f9afb5e9-46d6-4741-bc36-5f2aced3163f:Node f9afb5e9-46d6-4741-bc36-5f2aced3163f :: true |
deleteNodes | 1.022s |
2022-07-17 22:32:11 |
2022-07-17 22:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:11 | ------------------------------------ 2022-07-17 22:32:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f9afb5e9-46d6-4741-bc36-5f2aced3163f</node></data> 2022-07-17 22:32:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-17 22:32:12 | [Mutex] waiting for: [received:nodes:2d49977f-5281-459b-a870-6261823cb012:localhost] 2022-07-17 22:32:12 | [Mutex] waiting for: [received:nodes:2d49977f-5281-459b-a870-6261823cb012:localhost] 2022-07-17 22:32:12 | [Mutex] received everything. 2022-07-17 22:32:12 | [Mutex] isItemNotified: received:node:2d49977f-5281-459b-a870-6261823cb012:localhost:node-f9afb5e9-46d6-4741-bc36-5f2aced3163f:Node f9afb5e9-46d6-4741-bc36-5f2aced3163f :: false |
deleteSubnodes | 1.118s |
2022-07-17 22:32:10 |
2022-07-17 22:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:10 | ------------------------------------ 2022-07-17 22:32:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-19453372-74e1-491f-9855-77f82782b5d5</node></data> 2022-07-17 22:32:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-17 22:32:11 | [Mutex] waiting for: [received:nodes:531c61bc-914f-4f5d-8cd5-06f8361e6d3f:localhost] 2022-07-17 22:32:11 | [Mutex] received everything. 2022-07-17 22:32:11 | [Mutex] isItemNotified: received:node:531c61bc-914f-4f5d-8cd5-06f8361e6d3f:localhost:node-19453372-74e1-491f-9855-77f82782b5d5:Node 19453372-74e1-491f-9855-77f82782b5d5 :: false 2022-07-17 22:32:11 | [Mutex] waiting for: [received:nodes:63b4d944-a3f3-4058-8092-af1c51580be8:localhost] 2022-07-17 22:32:11 | [Mutex] received everything. 2022-07-17 22:32:11 | [Mutex] isItemNotified: received:node:63b4d944-a3f3-4058-8092-af1c51580be8:localhost:node-19453372-74e1-491f-9855-77f82782b5d5:Node 19453372-74e1-491f-9855-77f82782b5d5 :: false |
publishItemsToNodes | 0.200s |
2022-07-17 22:32:08 |
2022-07-17 22:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:08 | ------------------------------------ 2022-07-17 22:32:08 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-19453372-74e1-491f-9855-77f82782b5d5</node><item-id>item-e7c36021-56ba-4dba-9bc0-4d336003e082</item-id><entry><test>item-e7c36021-56ba-4dba-9bc0-4d336003e082</test></entry></data> 2022-07-17 22:32:08 | 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-e7c36021-56ba-4dba-9bc0-4d336003e082</value></item-id></result> 2022-07-17 22:32:08 | [Mutex] waiting for: [published:item:notifieditem-e7c36021-56ba-4dba-9bc0-4d336003e082:admin@test-domain.com] 2022-07-17 22:32:08 | [Mutex] received everything. 2022-07-17 22:32:08 | [Mutex] isItemNotified: published:item:notifieditem-e7c36021-56ba-4dba-9bc0-4d336003e082:admin@test-domain.com :: true |
retractItemsFromNodes | 0.314s |
2022-07-17 22:32:08 |
2022-07-17 22:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:08 | ------------------------------------ 2022-07-17 22:32:08 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-19453372-74e1-491f-9855-77f82782b5d5</node><item-id>item-e7c36021-56ba-4dba-9bc0-4d336003e082</item-id></data> 2022-07-17 22:32:08 | 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-e7c36021-56ba-4dba-9bc0-4d336003e082</value></item-id></result> 2022-07-17 22:32:08 | [Mutex] received everything. 2022-07-17 22:32:08 | [Mutex] isItemNotified: retracted:item:notifieditem-e7c36021-56ba-4dba-9bc0-4d336003e082:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.269s |
2022-07-17 22:32:08 |
2022-07-17 22:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:08 | ------------------------------------ 2022-07-17 22:32:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-19453372-74e1-491f-9855-77f82782b5d5</node><item-id>item-e7c36021-56ba-4dba-9bc0-4d336003e082</item-id></data> 2022-07-17 22:32:08 | 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-19453372-74e1-491f-9855-77f82782b5d5</value></node><item-id type="text-single" label="Item ID"><value>item-e7c36021-56ba-4dba-9bc0-4d336003e082</value></item-id><item type="text-multi" label="Item"><value><item id="item-e7c36021-56ba-4dba-9bc0-4d336003e082"><test>item-e7c36021-56ba-4dba-9bc0-4d336003e082</test></item></value></item></result> 2022-07-17 22:32:08 | [Mutex] notify: [retrieved:item:item-e7c36021-56ba-4dba-9bc0-4d336003e082:payload-matches:true:localhost] 2022-07-17 22:32:08 | [Mutex] received everything. 2022-07-17 22:32:08 | [Mutex] isItemNotified: retrieved:item:item-e7c36021-56ba-4dba-9bc0-4d336003e082:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-07-17 22:32:08 |
2022-07-17 22:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:08 | ------------------------------------ 2022-07-17 22:32:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-17 22:32:08 | 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-f9afb5e9-46d6-4741-bc36-5f2aced3163f</value><value>node-19453372-74e1-491f-9855-77f82782b5d5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-07-17 22:32:08 |
2022-07-17 22:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:08 | ------------------------------------ 2022-07-17 22:32:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-19453372-74e1-491f-9855-77f82782b5d5)</node-pattern></data> 2022-07-17 22:32:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.110s |
2022-07-17 22:32:06 |
2022-07-17 22:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:06 | ------------------------------------ 2022-07-17 22:32:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-19453372-74e1-491f-9855-77f82782b5d5</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-17 22:32:07 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.148s |
2022-07-17 22:32:08 |
2022-07-17 22:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 22:32:08 | ------------------------------------ 2022-07-17 22:32:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-19453372-74e1-491f-9855-77f82782b5d5</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-17 22:32:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |