Test duration : 9.606s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2022-10-10 22:35:43 |
2022-10-10 22:35:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:43 | ------------------------------------ 2022-10-10 22:35:43 | [Mutex] waiting for: [configured:node:node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2:node-60aa0d88-017a-4487-a4d1-8d3ba8f7d476] 2022-10-10 22:35:43 | [Mutex] received everything. 2022-10-10 22:35:43 | [Mutex] isItemNotified: configured:node:node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2:node-60aa0d88-017a-4487-a4d1-8d3ba8f7d476 :: true 2022-10-10 22:35:44 | [Mutex] waiting for: [received:nodes:d9d14b36-9fdb-4cef-a805-1f08b0d63b83:localhost] 2022-10-10 22:35:44 | [Mutex] received everything. 2022-10-10 22:35:44 | [Mutex] isItemNotified: received:node:d9d14b36-9fdb-4cef-a805-1f08b0d63b83:localhost:node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2:Node d7e53b2e-2e33-42a2-b704-2b2fe3a627c2 :: true 2022-10-10 22:35:44 | [Mutex] waiting for: [received:nodes:39cca85b-fd31-4fa5-8335-a062cb296a3c:localhost] 2022-10-10 22:35:44 | [Mutex] waiting for: [received:nodes:39cca85b-fd31-4fa5-8335-a062cb296a3c:localhost] 2022-10-10 22:35:44 | [Mutex] received everything. 2022-10-10 22:35:44 | [Mutex] isItemNotified: received:node:39cca85b-fd31-4fa5-8335-a062cb296a3c:localhost:node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2:Node d7e53b2e-2e33-42a2-b704-2b2fe3a627c2 :: false |
createNodes | 1.450s |
2022-10-10 22:35:41 |
2022-10-10 22:35:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:41 | ------------------------------------ 2022-10-10 22:35:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d7e53b2e-2e33-42a2-b704-2b2fe3a627c2</title></pubsub></data> 2022-10-10 22:35:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 22:35:42 | [Mutex] waiting for: [received:nodes:9cf51ab2-6942-4cfc-a64c-fe0f25c2b6cf:localhost] 2022-10-10 22:35:42 | [Mutex] received everything. 2022-10-10 22:35:42 | [Mutex] isItemNotified: received:node:9cf51ab2-6942-4cfc-a64c-fe0f25c2b6cf:localhost:node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2:Node d7e53b2e-2e33-42a2-b704-2b2fe3a627c2 :: true |
createSubnodes | 1.026s |
2022-10-10 22:35:42 |
2022-10-10 22:35:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:42 | ------------------------------------ 2022-10-10 22:35:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-60aa0d88-017a-4487-a4d1-8d3ba8f7d476</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 60aa0d88-017a-4487-a4d1-8d3ba8f7d476</title></pubsub></data> 2022-10-10 22:35:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 22:35:43 | [Mutex] waiting for: [received:nodes:9e757826-dfd9-44e9-a793-47c3d06a6b4f:localhost] 2022-10-10 22:35:43 | [Mutex] waiting for: [received:nodes:9e757826-dfd9-44e9-a793-47c3d06a6b4f:localhost] 2022-10-10 22:35:43 | [Mutex] received everything. 2022-10-10 22:35:43 | [Mutex] isItemNotified: received:node:9e757826-dfd9-44e9-a793-47c3d06a6b4f:localhost:node-60aa0d88-017a-4487-a4d1-8d3ba8f7d476:Node 60aa0d88-017a-4487-a4d1-8d3ba8f7d476 :: true |
deleteNodes | 1.018s |
2022-10-10 22:35:49 |
2022-10-10 22:35:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:49 | ------------------------------------ 2022-10-10 22:35:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-60aa0d88-017a-4487-a4d1-8d3ba8f7d476</node></data> 2022-10-10 22:35:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 22:35:50 | [Mutex] waiting for: [received:nodes:3b231cd1-fabe-4cce-94d1-ef38b426fdca:localhost] 2022-10-10 22:35:50 | [Mutex] waiting for: [received:nodes:3b231cd1-fabe-4cce-94d1-ef38b426fdca:localhost] 2022-10-10 22:35:50 | [Mutex] received everything. 2022-10-10 22:35:50 | [Mutex] isItemNotified: received:node:3b231cd1-fabe-4cce-94d1-ef38b426fdca:localhost:node-60aa0d88-017a-4487-a4d1-8d3ba8f7d476:Node 60aa0d88-017a-4487-a4d1-8d3ba8f7d476 :: false |
deleteSubnodes | 1.140s |
2022-10-10 22:35:48 |
2022-10-10 22:35:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:48 | ------------------------------------ 2022-10-10 22:35:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2</node></data> 2022-10-10 22:35:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-10 22:35:49 | [Mutex] waiting for: [received:nodes:92721f88-a2c1-4549-a3e9-0fc77eaedad3:localhost] 2022-10-10 22:35:49 | [Mutex] waiting for: [received:nodes:92721f88-a2c1-4549-a3e9-0fc77eaedad3:localhost] 2022-10-10 22:35:49 | [Mutex] received everything. 2022-10-10 22:35:49 | [Mutex] isItemNotified: received:node:92721f88-a2c1-4549-a3e9-0fc77eaedad3:localhost:node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2:Node d7e53b2e-2e33-42a2-b704-2b2fe3a627c2 :: false 2022-10-10 22:35:49 | [Mutex] waiting for: [received:nodes:f4d3d373-0185-4437-aff4-fdffd9abd75c:localhost] 2022-10-10 22:35:49 | [Mutex] received everything. 2022-10-10 22:35:49 | [Mutex] isItemNotified: received:node:f4d3d373-0185-4437-aff4-fdffd9abd75c:localhost:node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2:Node d7e53b2e-2e33-42a2-b704-2b2fe3a627c2 :: false |
publishItemsToNodes | 0.188s |
2022-10-10 22:35:46 |
2022-10-10 22:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:46 | ------------------------------------ 2022-10-10 22:35:46 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2</node><item-id>item-ccd9c10d-96bd-4187-91a9-a6565b95fe93</item-id><entry><test>item-ccd9c10d-96bd-4187-91a9-a6565b95fe93</test></entry></data> 2022-10-10 22:35:46 | 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-ccd9c10d-96bd-4187-91a9-a6565b95fe93</value></item-id></result> 2022-10-10 22:35:46 | [Mutex] waiting for: [published:item:notifieditem-ccd9c10d-96bd-4187-91a9-a6565b95fe93:admin@test-domain.com] 2022-10-10 22:35:46 | [Mutex] received everything. 2022-10-10 22:35:46 | [Mutex] isItemNotified: published:item:notifieditem-ccd9c10d-96bd-4187-91a9-a6565b95fe93:admin@test-domain.com :: true |
retractItemsFromNodes | 0.349s |
2022-10-10 22:35:46 |
2022-10-10 22:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:46 | ------------------------------------ 2022-10-10 22:35:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2</node><item-id>item-ccd9c10d-96bd-4187-91a9-a6565b95fe93</item-id></data> 2022-10-10 22:35:46 | 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-ccd9c10d-96bd-4187-91a9-a6565b95fe93</value></item-id></result> 2022-10-10 22:35:46 | [Mutex] received everything. 2022-10-10 22:35:46 | [Mutex] isItemNotified: retracted:item:notifieditem-ccd9c10d-96bd-4187-91a9-a6565b95fe93:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.280s |
2022-10-10 22:35:46 |
2022-10-10 22:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:46 | ------------------------------------ 2022-10-10 22:35:46 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2</node><item-id>item-ccd9c10d-96bd-4187-91a9-a6565b95fe93</item-id></data> 2022-10-10 22:35:46 | 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-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2</value></node><item-id label="Item ID" type="text-single"><value>item-ccd9c10d-96bd-4187-91a9-a6565b95fe93</value></item-id><item label="Item" type="text-multi"><value><item id="item-ccd9c10d-96bd-4187-91a9-a6565b95fe93"><test>item-ccd9c10d-96bd-4187-91a9-a6565b95fe93</test></item></value></item></result> 2022-10-10 22:35:46 | [Mutex] notify: [retrieved:item:item-ccd9c10d-96bd-4187-91a9-a6565b95fe93:payload-matches:true:localhost] 2022-10-10 22:35:46 | [Mutex] received everything. 2022-10-10 22:35:46 | [Mutex] isItemNotified: retrieved:item:item-ccd9c10d-96bd-4187-91a9-a6565b95fe93:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-10-10 22:35:46 |
2022-10-10 22:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:46 | ------------------------------------ 2022-10-10 22:35:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-10-10 22:35:46 | 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-60aa0d88-017a-4487-a4d1-8d3ba8f7d476</value><value>node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-10-10 22:35:46 |
2022-10-10 22:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:46 | ------------------------------------ 2022-10-10 22:35:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2)</node-pattern></data> 2022-10-10 22:35:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.150s |
2022-10-10 22:35:44 |
2022-10-10 22:35:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:44 | ------------------------------------ 2022-10-10 22:35:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-10 22:35:45 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2022-10-10 22:35:46 |
2022-10-10 22:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-10 22:35:46 | ------------------------------------ 2022-10-10 22:35:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d7e53b2e-2e33-42a2-b704-2b2fe3a627c2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-10 22:35:47 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |