Generated by TestNG with ReportNG at 21:17 PST on Sunday 17 January 2021
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.534s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.125s
2021-01-17 21:34:28 |

2021-01-17 21:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:28 | ------------------------------------

2021-01-17 21:34:28 | [Mutex] waiting for: [configured:node:node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6:node-5dcd2896-ce54-4d22-8d04-b40c732eae9f]

2021-01-17 21:34:28 | [Mutex] received everything.

2021-01-17 21:34:28 | [Mutex] isItemNotified: configured:node:node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6:node-5dcd2896-ce54-4d22-8d04-b40c732eae9f :: true

2021-01-17 21:34:29 | [Mutex] waiting for: [received:nodes:ddb35835-c9d9-45a7-a607-c9614703f2ff:localhost]

2021-01-17 21:34:29 | [Mutex] received everything.

2021-01-17 21:34:29 | [Mutex] isItemNotified: received:node:ddb35835-c9d9-45a7-a607-c9614703f2ff:localhost:node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6:Node a993cf3c-ff40-4297-a8bb-04ecb50b71b6 :: true

2021-01-17 21:34:29 | [Mutex] waiting for: [received:nodes:90c0701e-4673-4391-8d40-8a1d5e5aa323:localhost]

2021-01-17 21:34:29 | [Mutex] received everything.

2021-01-17 21:34:29 | [Mutex] isItemNotified: received:node:90c0701e-4673-4391-8d40-8a1d5e5aa323:localhost:node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6:Node a993cf3c-ff40-4297-a8bb-04ecb50b71b6 :: false

createNodes 1.754s
2021-01-17 21:34:25 |

2021-01-17 21:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:25 | ------------------------------------

2021-01-17 21:34:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a993cf3c-ff40-4297-a8bb-04ecb50b71b6</title></pubsub></data>

2021-01-17 21:34:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-17 21:34:27 | [Mutex] waiting for: [received:nodes:6bc13a7e-a25c-4211-9216-bcd09278e681:localhost]

2021-01-17 21:34:27 | [Mutex] received everything.

2021-01-17 21:34:27 | [Mutex] isItemNotified: received:node:6bc13a7e-a25c-4211-9216-bcd09278e681:localhost:node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6:Node a993cf3c-ff40-4297-a8bb-04ecb50b71b6 :: true

createSubnodes 1.035s
2021-01-17 21:34:27 |

2021-01-17 21:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:27 | ------------------------------------

2021-01-17 21:34:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5dcd2896-ce54-4d22-8d04-b40c732eae9f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5dcd2896-ce54-4d22-8d04-b40c732eae9f</title></pubsub></data>

2021-01-17 21:34:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-17 21:34:28 | [Mutex] waiting for: [received:nodes:356b1102-74ac-460b-b21a-8f39cc902d8c:localhost]

2021-01-17 21:34:28 | [Mutex] waiting for: [received:nodes:356b1102-74ac-460b-b21a-8f39cc902d8c:localhost]

2021-01-17 21:34:28 | [Mutex] received everything.

2021-01-17 21:34:28 | [Mutex] isItemNotified: received:node:356b1102-74ac-460b-b21a-8f39cc902d8c:localhost:node-5dcd2896-ce54-4d22-8d04-b40c732eae9f:Node 5dcd2896-ce54-4d22-8d04-b40c732eae9f :: true

deleteNodes 1.028s
2021-01-17 21:34:34 |

2021-01-17 21:34:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:34 | ------------------------------------

2021-01-17 21:34:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5dcd2896-ce54-4d22-8d04-b40c732eae9f</node></data>

2021-01-17 21:34:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-17 21:34:35 | [Mutex] waiting for: [received:nodes:25e6e6da-5f20-4de8-af15-f2c44e2e69ab:localhost]

2021-01-17 21:34:35 | [Mutex] received everything.

2021-01-17 21:34:35 | [Mutex] isItemNotified: received:node:25e6e6da-5f20-4de8-af15-f2c44e2e69ab:localhost:node-5dcd2896-ce54-4d22-8d04-b40c732eae9f:Node 5dcd2896-ce54-4d22-8d04-b40c732eae9f :: false

deleteSubnodes 1.176s
2021-01-17 21:34:32 |

2021-01-17 21:34:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:32 | ------------------------------------

2021-01-17 21:34:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6</node></data>

2021-01-17 21:34:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-17 21:34:34 | [Mutex] waiting for: [received:nodes:9f09c8f2-132a-4f65-99df-17f765f40386:localhost]

2021-01-17 21:34:34 | [Mutex] received everything.

2021-01-17 21:34:34 | [Mutex] isItemNotified: received:node:9f09c8f2-132a-4f65-99df-17f765f40386:localhost:node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6:Node a993cf3c-ff40-4297-a8bb-04ecb50b71b6 :: false

2021-01-17 21:34:34 | [Mutex] waiting for: [received:nodes:b2694025-cd7a-4add-9b57-16eb6bd865c9:localhost]

2021-01-17 21:34:34 | [Mutex] received everything.

2021-01-17 21:34:34 | [Mutex] isItemNotified: received:node:b2694025-cd7a-4add-9b57-16eb6bd865c9:localhost:node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6:Node a993cf3c-ff40-4297-a8bb-04ecb50b71b6 :: false

publishItemsToNodes 0.273s
2021-01-17 21:34:30 |

2021-01-17 21:34:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:30 | ------------------------------------

2021-01-17 21:34:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6</node><item-id>item-5feb2b37-c8d2-4d5d-ad46-336271e77eec</item-id><entry><test>item-5feb2b37-c8d2-4d5d-ad46-336271e77eec</test></entry></data>

2021-01-17 21:34:30 | 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-5feb2b37-c8d2-4d5d-ad46-336271e77eec</value></item-id></result>

2021-01-17 21:34:30 | [Mutex] waiting for: [published:item:notifieditem-5feb2b37-c8d2-4d5d-ad46-336271e77eec:admin@test-domain.com]

2021-01-17 21:34:31 | [Mutex] received everything.

2021-01-17 21:34:31 | [Mutex] isItemNotified: published:item:notifieditem-5feb2b37-c8d2-4d5d-ad46-336271e77eec:admin@test-domain.com :: true

retractItemsFromNodes 0.309s
2021-01-17 21:34:31 |

2021-01-17 21:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:31 | ------------------------------------

2021-01-17 21:34:31 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6</node><item-id>item-5feb2b37-c8d2-4d5d-ad46-336271e77eec</item-id></data>

2021-01-17 21:34:31 | 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-5feb2b37-c8d2-4d5d-ad46-336271e77eec</value></item-id></result>

2021-01-17 21:34:31 | [Mutex] waiting for: [retracted:item:notifieditem-5feb2b37-c8d2-4d5d-ad46-336271e77eec:admin@test-domain.com]

2021-01-17 21:34:31 | [Mutex] received everything.

2021-01-17 21:34:31 | [Mutex] isItemNotified: retracted:item:notifieditem-5feb2b37-c8d2-4d5d-ad46-336271e77eec:admin@test-domain.com :: true

retrieveItemsFromNodes 0.192s
2021-01-17 21:34:31 |

2021-01-17 21:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:31 | ------------------------------------

2021-01-17 21:34:31 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6</node><item-id>item-5feb2b37-c8d2-4d5d-ad46-336271e77eec</item-id></data>

2021-01-17 21:34:31 | 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-a993cf3c-ff40-4297-a8bb-04ecb50b71b6</value></node><item-id label="Item ID" type="text-single"><value>item-5feb2b37-c8d2-4d5d-ad46-336271e77eec</value></item-id><item label="Item" type="text-multi"><value><item id="item-5feb2b37-c8d2-4d5d-ad46-336271e77eec"><test>item-5feb2b37-c8d2-4d5d-ad46-336271e77eec</test></item></value></item></result>

2021-01-17 21:34:31 | [Mutex] notify: [retrieved:item:item-5feb2b37-c8d2-4d5d-ad46-336271e77eec:payload-matches:true:localhost]

2021-01-17 21:34:31 | [Mutex] received everything.

2021-01-17 21:34:31 | [Mutex] isItemNotified: retrieved:item:item-5feb2b37-c8d2-4d5d-ad46-336271e77eec:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.067s
2021-01-17 21:34:31 |

2021-01-17 21:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:31 | ------------------------------------

2021-01-17 21:34:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-17 21:34:31 | 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-5dcd2896-ce54-4d22-8d04-b40c732eae9f</value><value>node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-01-17 21:34:31 |

2021-01-17 21:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:31 | ------------------------------------

2021-01-17 21:34:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6)</node-pattern></data>

2021-01-17 21:34:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.173s
2021-01-17 21:34:29 |

2021-01-17 21:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:29 | ------------------------------------

2021-01-17 21:34:29 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-17 21:34:29 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.277s
2021-01-17 21:34:31 |

2021-01-17 21:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:31 | ------------------------------------

2021-01-17 21:34:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a993cf3c-ff40-4297-a8bb-04ecb50b71b6</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-17 21:34:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>