Generated by TestNG with ReportNG at 22:48 PDT on Sunday 18 September 2022
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.654s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.133s
2022-09-18 23:03:09 |

2022-09-18 23:03:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:09 | ------------------------------------

2022-09-18 23:03:09 | [Mutex] waiting for: [configured:node:node-b7d28858-6aca-4441-b913-01fc8a12ef07:node-e73dc534-237a-4bdd-839e-d4ec2813b3a7]

2022-09-18 23:03:09 | [Mutex] received everything.

2022-09-18 23:03:09 | [Mutex] isItemNotified: configured:node:node-b7d28858-6aca-4441-b913-01fc8a12ef07:node-e73dc534-237a-4bdd-839e-d4ec2813b3a7 :: true

2022-09-18 23:03:10 | [Mutex] waiting for: [received:nodes:ec42a976-88e8-4e91-9ec5-18f570efa178:localhost]

2022-09-18 23:03:10 | [Mutex] received everything.

2022-09-18 23:03:10 | [Mutex] isItemNotified: received:node:ec42a976-88e8-4e91-9ec5-18f570efa178:localhost:node-b7d28858-6aca-4441-b913-01fc8a12ef07:Node b7d28858-6aca-4441-b913-01fc8a12ef07 :: true

2022-09-18 23:03:10 | [Mutex] waiting for: [received:nodes:5abdb5fc-41cc-4fef-a41f-f714382d0a28:localhost]

2022-09-18 23:03:10 | [Mutex] waiting for: [received:nodes:5abdb5fc-41cc-4fef-a41f-f714382d0a28:localhost]

2022-09-18 23:03:10 | [Mutex] waiting for: [received:nodes:5abdb5fc-41cc-4fef-a41f-f714382d0a28:localhost]

2022-09-18 23:03:10 | [Mutex] received everything.

2022-09-18 23:03:10 | [Mutex] isItemNotified: received:node:5abdb5fc-41cc-4fef-a41f-f714382d0a28:localhost:node-b7d28858-6aca-4441-b913-01fc8a12ef07:Node b7d28858-6aca-4441-b913-01fc8a12ef07 :: false

createNodes 1.416s
2022-09-18 23:03:06 |

2022-09-18 23:03:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:06 | ------------------------------------

2022-09-18 23:03:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b7d28858-6aca-4441-b913-01fc8a12ef07</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b7d28858-6aca-4441-b913-01fc8a12ef07</title></pubsub></data>

2022-09-18 23:03:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-18 23:03:08 | [Mutex] waiting for: [received:nodes:ed71e95b-20ef-456a-9ce4-af3e48f5da5e:localhost]

2022-09-18 23:03:08 | [Mutex] received everything.

2022-09-18 23:03:08 | [Mutex] isItemNotified: received:node:ed71e95b-20ef-456a-9ce4-af3e48f5da5e:localhost:node-b7d28858-6aca-4441-b913-01fc8a12ef07:Node b7d28858-6aca-4441-b913-01fc8a12ef07 :: true

createSubnodes 1.026s
2022-09-18 23:03:08 |

2022-09-18 23:03:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:08 | ------------------------------------

2022-09-18 23:03:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e73dc534-237a-4bdd-839e-d4ec2813b3a7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e73dc534-237a-4bdd-839e-d4ec2813b3a7</title></pubsub></data>

2022-09-18 23:03:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-18 23:03:09 | [Mutex] waiting for: [received:nodes:bd8a0569-beb8-4305-9791-c889326323a5:localhost]

2022-09-18 23:03:09 | [Mutex] received everything.

2022-09-18 23:03:09 | [Mutex] isItemNotified: received:node:bd8a0569-beb8-4305-9791-c889326323a5:localhost:node-e73dc534-237a-4bdd-839e-d4ec2813b3a7:Node e73dc534-237a-4bdd-839e-d4ec2813b3a7 :: true

deleteNodes 1.021s
2022-09-18 23:03:14 |

2022-09-18 23:03:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:14 | ------------------------------------

2022-09-18 23:03:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e73dc534-237a-4bdd-839e-d4ec2813b3a7</node></data>

2022-09-18 23:03:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-18 23:03:15 | [Mutex] waiting for: [received:nodes:a8141e2e-d874-4059-a8f5-a9b4056fddb4:localhost]

2022-09-18 23:03:15 | [Mutex] received everything.

2022-09-18 23:03:15 | [Mutex] isItemNotified: received:node:a8141e2e-d874-4059-a8f5-a9b4056fddb4:localhost:node-e73dc534-237a-4bdd-839e-d4ec2813b3a7:Node e73dc534-237a-4bdd-839e-d4ec2813b3a7 :: false

deleteSubnodes 1.161s
2022-09-18 23:03:13 |

2022-09-18 23:03:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:13 | ------------------------------------

2022-09-18 23:03:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b7d28858-6aca-4441-b913-01fc8a12ef07</node></data>

2022-09-18 23:03:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-18 23:03:14 | [Mutex] waiting for: [received:nodes:9e7bd3c3-84ff-4e2e-9e6c-5d43edbff119:localhost]

2022-09-18 23:03:14 | [Mutex] received everything.

2022-09-18 23:03:14 | [Mutex] isItemNotified: received:node:9e7bd3c3-84ff-4e2e-9e6c-5d43edbff119:localhost:node-b7d28858-6aca-4441-b913-01fc8a12ef07:Node b7d28858-6aca-4441-b913-01fc8a12ef07 :: false

2022-09-18 23:03:14 | [Mutex] waiting for: [received:nodes:19792171-9bc3-45e3-ab1b-a9f3c31314b8:localhost]

2022-09-18 23:03:14 | [Mutex] received everything.

2022-09-18 23:03:14 | [Mutex] isItemNotified: received:node:19792171-9bc3-45e3-ab1b-a9f3c31314b8:localhost:node-b7d28858-6aca-4441-b913-01fc8a12ef07:Node b7d28858-6aca-4441-b913-01fc8a12ef07 :: false

publishItemsToNodes 0.205s
2022-09-18 23:03:11 |

2022-09-18 23:03:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:11 | ------------------------------------

2022-09-18 23:03:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b7d28858-6aca-4441-b913-01fc8a12ef07</node><item-id>item-8134082e-6fad-463f-bc55-4b49571004c0</item-id><entry><test>item-8134082e-6fad-463f-bc55-4b49571004c0</test></entry></data>

2022-09-18 23:03:11 | 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-8134082e-6fad-463f-bc55-4b49571004c0</value></item-id></result>

2022-09-18 23:03:11 | [Mutex] received everything.

2022-09-18 23:03:11 | [Mutex] isItemNotified: published:item:notifieditem-8134082e-6fad-463f-bc55-4b49571004c0:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2022-09-18 23:03:11 |

2022-09-18 23:03:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:11 | ------------------------------------

2022-09-18 23:03:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b7d28858-6aca-4441-b913-01fc8a12ef07</node><item-id>item-8134082e-6fad-463f-bc55-4b49571004c0</item-id></data>

2022-09-18 23:03:12 | 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-8134082e-6fad-463f-bc55-4b49571004c0</value></item-id></result>

2022-09-18 23:03:12 | [Mutex] received everything.

2022-09-18 23:03:12 | [Mutex] isItemNotified: retracted:item:notifieditem-8134082e-6fad-463f-bc55-4b49571004c0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.287s
2022-09-18 23:03:11 |

2022-09-18 23:03:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:11 | ------------------------------------

2022-09-18 23:03:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b7d28858-6aca-4441-b913-01fc8a12ef07</node><item-id>item-8134082e-6fad-463f-bc55-4b49571004c0</item-id></data>

2022-09-18 23:03:11 | 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-b7d28858-6aca-4441-b913-01fc8a12ef07</value></node><item-id type="text-single" label="Item ID"><value>item-8134082e-6fad-463f-bc55-4b49571004c0</value></item-id><item type="text-multi" label="Item"><value><item id="item-8134082e-6fad-463f-bc55-4b49571004c0"><test>item-8134082e-6fad-463f-bc55-4b49571004c0</test></item></value></item></result>

2022-09-18 23:03:11 | [Mutex] notify: [retrieved:item:item-8134082e-6fad-463f-bc55-4b49571004c0:payload-matches:true:localhost]

2022-09-18 23:03:11 | [Mutex] received everything.

2022-09-18 23:03:11 | [Mutex] isItemNotified: retrieved:item:item-8134082e-6fad-463f-bc55-4b49571004c0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-18 23:03:11 |

2022-09-18 23:03:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:11 | ------------------------------------

2022-09-18 23:03:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-18 23:03:11 | 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-b7d28858-6aca-4441-b913-01fc8a12ef07</value><value>node-e73dc534-237a-4bdd-839e-d4ec2813b3a7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-18 23:03:11 |

2022-09-18 23:03:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:11 | ------------------------------------

2022-09-18 23:03:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b7d28858-6aca-4441-b913-01fc8a12ef07)</node-pattern></data>

2022-09-18 23:03:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.114s
2022-09-18 23:03:10 |

2022-09-18 23:03:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:10 | ------------------------------------

2022-09-18 23:03:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b7d28858-6aca-4441-b913-01fc8a12ef07</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-18 23:03:10 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.227s
2022-09-18 23:03:12 |

2022-09-18 23:03:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:03:12 | ------------------------------------

2022-09-18 23:03:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b7d28858-6aca-4441-b913-01fc8a12ef07</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-18 23:03:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>