Test duration : 9.975s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.121s |
2020-10-18 22:43:14 |
2020-10-18 22:43:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:14 | ------------------------------------ 2020-10-18 22:43:14 | [Mutex] waiting for: [configured:node:node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6:node-5c0be141-9bae-43b9-a423-44e635ef6aeb] 2020-10-18 22:43:14 | [Mutex] received everything. 2020-10-18 22:43:14 | [Mutex] isItemNotified: configured:node:node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6:node-5c0be141-9bae-43b9-a423-44e635ef6aeb :: true 2020-10-18 22:43:15 | [Mutex] waiting for: [received:nodes:60fb66f4-7c4c-4925-aa51-62681772f87f:localhost] 2020-10-18 22:43:15 | [Mutex] received everything. 2020-10-18 22:43:15 | [Mutex] isItemNotified: received:node:60fb66f4-7c4c-4925-aa51-62681772f87f:localhost:node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6:Node e80e6f90-99bd-4fba-b437-b0e6a7a102e6 :: true 2020-10-18 22:43:15 | [Mutex] waiting for: [received:nodes:a7347901-fcee-444c-832d-09555aba61d4:localhost] 2020-10-18 22:43:15 | [Mutex] waiting for: [received:nodes:a7347901-fcee-444c-832d-09555aba61d4:localhost] 2020-10-18 22:43:15 | [Mutex] waiting for: [received:nodes:a7347901-fcee-444c-832d-09555aba61d4:localhost] 2020-10-18 22:43:15 | [Mutex] received everything. 2020-10-18 22:43:15 | [Mutex] isItemNotified: received:node:a7347901-fcee-444c-832d-09555aba61d4:localhost:node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6:Node e80e6f90-99bd-4fba-b437-b0e6a7a102e6 :: false |
createNodes | 1.440s |
2020-10-18 22:43:11 |
2020-10-18 22:43:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:11 | ------------------------------------ 2020-10-18 22:43:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e80e6f90-99bd-4fba-b437-b0e6a7a102e6</title></pubsub></data> 2020-10-18 22:43:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 22:43:13 | [Mutex] waiting for: [received:nodes:cdef9998-007d-4681-a83d-3fa7b3cb2843:localhost] 2020-10-18 22:43:13 | [Mutex] received everything. 2020-10-18 22:43:13 | [Mutex] isItemNotified: received:node:cdef9998-007d-4681-a83d-3fa7b3cb2843:localhost:node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6:Node e80e6f90-99bd-4fba-b437-b0e6a7a102e6 :: true |
createSubnodes | 1.022s |
2020-10-18 22:43:13 |
2020-10-18 22:43:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:13 | ------------------------------------ 2020-10-18 22:43:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5c0be141-9bae-43b9-a423-44e635ef6aeb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5c0be141-9bae-43b9-a423-44e635ef6aeb</title></pubsub></data> 2020-10-18 22:43:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 22:43:14 | [Mutex] waiting for: [received:nodes:7bfef618-e228-4a31-8185-a11d5bdc2532:localhost] 2020-10-18 22:43:14 | [Mutex] waiting for: [received:nodes:7bfef618-e228-4a31-8185-a11d5bdc2532:localhost] 2020-10-18 22:43:14 | [Mutex] received everything. 2020-10-18 22:43:14 | [Mutex] isItemNotified: received:node:7bfef618-e228-4a31-8185-a11d5bdc2532:localhost:node-5c0be141-9bae-43b9-a423-44e635ef6aeb:Node 5c0be141-9bae-43b9-a423-44e635ef6aeb :: true |
deleteNodes | 1.025s |
2020-10-18 22:43:19 |
2020-10-18 22:43:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:19 | ------------------------------------ 2020-10-18 22:43:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5c0be141-9bae-43b9-a423-44e635ef6aeb</node></data> 2020-10-18 22:43:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 22:43:20 | [Mutex] waiting for: [received:nodes:4b0c91bf-431b-4384-b0b2-f2fce524ec39:localhost] 2020-10-18 22:43:20 | [Mutex] received everything. 2020-10-18 22:43:20 | [Mutex] isItemNotified: received:node:4b0c91bf-431b-4384-b0b2-f2fce524ec39:localhost:node-5c0be141-9bae-43b9-a423-44e635ef6aeb:Node 5c0be141-9bae-43b9-a423-44e635ef6aeb :: false |
deleteSubnodes | 1.118s |
2020-10-18 22:43:18 |
2020-10-18 22:43:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:18 | ------------------------------------ 2020-10-18 22:43:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6</node></data> 2020-10-18 22:43:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 22:43:19 | [Mutex] waiting for: [received:nodes:6721c2cd-4e64-40e3-b1db-91af946f33ca:localhost] 2020-10-18 22:43:19 | [Mutex] waiting for: [received:nodes:6721c2cd-4e64-40e3-b1db-91af946f33ca:localhost] 2020-10-18 22:43:19 | [Mutex] received everything. 2020-10-18 22:43:19 | [Mutex] isItemNotified: received:node:6721c2cd-4e64-40e3-b1db-91af946f33ca:localhost:node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6:Node e80e6f90-99bd-4fba-b437-b0e6a7a102e6 :: false 2020-10-18 22:43:19 | [Mutex] waiting for: [received:nodes:fec4d73b-78ee-4e46-a316-1248f5abe350:localhost] 2020-10-18 22:43:19 | [Mutex] received everything. 2020-10-18 22:43:19 | [Mutex] isItemNotified: received:node:fec4d73b-78ee-4e46-a316-1248f5abe350:localhost:node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6:Node e80e6f90-99bd-4fba-b437-b0e6a7a102e6 :: false |
publishItemsToNodes | 0.269s |
2020-10-18 22:43:16 |
2020-10-18 22:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:16 | ------------------------------------ 2020-10-18 22:43:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6</node><item-id>item-093b7bf4-1252-47de-9340-f7e3b4d898ba</item-id><entry><test>item-093b7bf4-1252-47de-9340-f7e3b4d898ba</test></entry></data> 2020-10-18 22:43:16 | 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-093b7bf4-1252-47de-9340-f7e3b4d898ba</value></item-id></result> 2020-10-18 22:43:16 | [Mutex] received everything. 2020-10-18 22:43:16 | [Mutex] isItemNotified: published:item:notifieditem-093b7bf4-1252-47de-9340-f7e3b4d898ba:admin@test-domain.com :: true |
retractItemsFromNodes | 0.191s |
2020-10-18 22:43:17 |
2020-10-18 22:43:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:17 | ------------------------------------ 2020-10-18 22:43:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6</node><item-id>item-093b7bf4-1252-47de-9340-f7e3b4d898ba</item-id></data> 2020-10-18 22:43:17 | 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-093b7bf4-1252-47de-9340-f7e3b4d898ba</value></item-id></result> 2020-10-18 22:43:17 | [Mutex] received everything. 2020-10-18 22:43:17 | [Mutex] isItemNotified: retracted:item:notifieditem-093b7bf4-1252-47de-9340-f7e3b4d898ba:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.319s |
2020-10-18 22:43:16 |
2020-10-18 22:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:16 | ------------------------------------ 2020-10-18 22:43:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6</node><item-id>item-093b7bf4-1252-47de-9340-f7e3b4d898ba</item-id></data> 2020-10-18 22:43:17 | 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-e80e6f90-99bd-4fba-b437-b0e6a7a102e6</value></node><item-id label="Item ID" type="text-single"><value>item-093b7bf4-1252-47de-9340-f7e3b4d898ba</value></item-id><item label="Item" type="text-multi"><value><item id="item-093b7bf4-1252-47de-9340-f7e3b4d898ba"><test>item-093b7bf4-1252-47de-9340-f7e3b4d898ba</test></item></value></item></result> 2020-10-18 22:43:17 | [Mutex] notify: [retrieved:item:item-093b7bf4-1252-47de-9340-f7e3b4d898ba:payload-matches:true:localhost] 2020-10-18 22:43:17 | [Mutex] received everything. 2020-10-18 22:43:17 | [Mutex] isItemNotified: retrieved:item:item-093b7bf4-1252-47de-9340-f7e3b4d898ba:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-18 22:43:17 |
2020-10-18 22:43:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:17 | ------------------------------------ 2020-10-18 22:43:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-18 22:43:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-5c0be141-9bae-43b9-a423-44e635ef6aeb</value><value>test</value><value>node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-10-18 22:43:17 |
2020-10-18 22:43:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:17 | ------------------------------------ 2020-10-18 22:43:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6)</node-pattern></data> 2020-10-18 22:43:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.121s |
2020-10-18 22:43:15 |
2020-10-18 22:43:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:15 | ------------------------------------ 2020-10-18 22:43:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-18 22:43:15 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.207s |
2020-10-18 22:43:17 |
2020-10-18 22:43:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:43:17 | ------------------------------------ 2020-10-18 22:43:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e80e6f90-99bd-4fba-b437-b0e6a7a102e6</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-18 22:43:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |