Generated by TestNG with ReportNG at 02:15 PST on Thursday 03 February 2022
root@f29ef40080b5 / 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.408s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2022-02-03 02:29:58 |

2022-02-03 02:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:29:58 | ------------------------------------

2022-02-03 02:29:58 | [Mutex] waiting for: [configured:node:node-e60feb4f-de49-4dee-9bd3-df2e79713f44:node-8a632395-3adb-4eb0-bb4b-f802af2b7f90]

2022-02-03 02:29:58 | [Mutex] received everything.

2022-02-03 02:29:58 | [Mutex] isItemNotified: configured:node:node-e60feb4f-de49-4dee-9bd3-df2e79713f44:node-8a632395-3adb-4eb0-bb4b-f802af2b7f90 :: true

2022-02-03 02:29:59 | [Mutex] waiting for: [received:nodes:e974736f-7b72-4d87-b15b-0457ab0b3ac2:localhost]

2022-02-03 02:29:59 | [Mutex] received everything.

2022-02-03 02:29:59 | [Mutex] isItemNotified: received:node:e974736f-7b72-4d87-b15b-0457ab0b3ac2:localhost:node-e60feb4f-de49-4dee-9bd3-df2e79713f44:Node e60feb4f-de49-4dee-9bd3-df2e79713f44 :: true

2022-02-03 02:29:59 | [Mutex] waiting for: [received:nodes:cc84bd91-d08c-449b-abb1-cb158bd4fd64:localhost]

2022-02-03 02:29:59 | [Mutex] received everything.

2022-02-03 02:29:59 | [Mutex] isItemNotified: received:node:cc84bd91-d08c-449b-abb1-cb158bd4fd64:localhost:node-e60feb4f-de49-4dee-9bd3-df2e79713f44:Node e60feb4f-de49-4dee-9bd3-df2e79713f44 :: false

createNodes 1.594s
2022-02-03 02:29:55 |

2022-02-03 02:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:29:55 | ------------------------------------

2022-02-03 02:29:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e60feb4f-de49-4dee-9bd3-df2e79713f44</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e60feb4f-de49-4dee-9bd3-df2e79713f44</title></pubsub></data>

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

2022-02-03 02:29:57 | [Mutex] waiting for: [received:nodes:a5c3e90a-0ac3-4115-bc72-e69632867ccc:localhost]

2022-02-03 02:29:57 | [Mutex] received everything.

2022-02-03 02:29:57 | [Mutex] isItemNotified: received:node:a5c3e90a-0ac3-4115-bc72-e69632867ccc:localhost:node-e60feb4f-de49-4dee-9bd3-df2e79713f44:Node e60feb4f-de49-4dee-9bd3-df2e79713f44 :: true

createSubnodes 1.028s
2022-02-03 02:29:57 |

2022-02-03 02:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:29:57 | ------------------------------------

2022-02-03 02:29:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8a632395-3adb-4eb0-bb4b-f802af2b7f90</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8a632395-3adb-4eb0-bb4b-f802af2b7f90</title></pubsub></data>

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

2022-02-03 02:29:58 | [Mutex] waiting for: [received:nodes:fecdebd5-0e3b-4517-b467-0d6fa899ccb6:localhost]

2022-02-03 02:29:58 | [Mutex] received everything.

2022-02-03 02:29:58 | [Mutex] isItemNotified: received:node:fecdebd5-0e3b-4517-b467-0d6fa899ccb6:localhost:node-8a632395-3adb-4eb0-bb4b-f802af2b7f90:Node 8a632395-3adb-4eb0-bb4b-f802af2b7f90 :: true

deleteNodes 1.019s
2022-02-03 02:30:04 |

2022-02-03 02:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:30:04 | ------------------------------------

2022-02-03 02:30:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8a632395-3adb-4eb0-bb4b-f802af2b7f90</node></data>

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

2022-02-03 02:30:05 | [Mutex] waiting for: [received:nodes:e73757b8-439b-4448-ae88-cf7fe97e3164:localhost]

2022-02-03 02:30:05 | [Mutex] received everything.

2022-02-03 02:30:05 | [Mutex] isItemNotified: received:node:e73757b8-439b-4448-ae88-cf7fe97e3164:localhost:node-8a632395-3adb-4eb0-bb4b-f802af2b7f90:Node 8a632395-3adb-4eb0-bb4b-f802af2b7f90 :: false

deleteSubnodes 1.174s
2022-02-03 02:30:02 |

2022-02-03 02:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:30:02 | ------------------------------------

2022-02-03 02:30:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e60feb4f-de49-4dee-9bd3-df2e79713f44</node></data>

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

2022-02-03 02:30:04 | [Mutex] waiting for: [received:nodes:476a1a2d-d3ef-4930-8d42-c93551f1e6f7:localhost]

2022-02-03 02:30:04 | [Mutex] waiting for: [received:nodes:476a1a2d-d3ef-4930-8d42-c93551f1e6f7:localhost]

2022-02-03 02:30:04 | [Mutex] received everything.

2022-02-03 02:30:04 | [Mutex] isItemNotified: received:node:476a1a2d-d3ef-4930-8d42-c93551f1e6f7:localhost:node-e60feb4f-de49-4dee-9bd3-df2e79713f44:Node e60feb4f-de49-4dee-9bd3-df2e79713f44 :: false

2022-02-03 02:30:04 | [Mutex] waiting for: [received:nodes:9399d480-0469-4b37-90ef-8121ff071c47:localhost]

2022-02-03 02:30:04 | [Mutex] received everything.

2022-02-03 02:30:04 | [Mutex] isItemNotified: received:node:9399d480-0469-4b37-90ef-8121ff071c47:localhost:node-e60feb4f-de49-4dee-9bd3-df2e79713f44:Node e60feb4f-de49-4dee-9bd3-df2e79713f44 :: false

publishItemsToNodes 0.270s
2022-02-03 02:30:00 |

2022-02-03 02:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:30:00 | ------------------------------------

2022-02-03 02:30:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e60feb4f-de49-4dee-9bd3-df2e79713f44</node><item-id>item-c229df30-684c-4100-881b-cde65ac925b4</item-id><entry><test>item-c229df30-684c-4100-881b-cde65ac925b4</test></entry></data>

2022-02-03 02:30:00 | 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-c229df30-684c-4100-881b-cde65ac925b4</value></item-id></result>

2022-02-03 02:30:00 | [Mutex] received everything.

2022-02-03 02:30:00 | [Mutex] isItemNotified: published:item:notifieditem-c229df30-684c-4100-881b-cde65ac925b4:admin@test-domain.com :: true

retractItemsFromNodes 0.341s
2022-02-03 02:30:01 |

2022-02-03 02:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:30:01 | ------------------------------------

2022-02-03 02:30:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e60feb4f-de49-4dee-9bd3-df2e79713f44</node><item-id>item-c229df30-684c-4100-881b-cde65ac925b4</item-id></data>

2022-02-03 02:30:01 | 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-c229df30-684c-4100-881b-cde65ac925b4</value></item-id></result>

2022-02-03 02:30:01 | [Mutex] waiting for: [retracted:item:notifieditem-c229df30-684c-4100-881b-cde65ac925b4:admin@test-domain.com]

2022-02-03 02:30:01 | [Mutex] received everything.

2022-02-03 02:30:01 | [Mutex] isItemNotified: retracted:item:notifieditem-c229df30-684c-4100-881b-cde65ac925b4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.315s
2022-02-03 02:30:00 |

2022-02-03 02:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:30:00 | ------------------------------------

2022-02-03 02:30:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e60feb4f-de49-4dee-9bd3-df2e79713f44</node><item-id>item-c229df30-684c-4100-881b-cde65ac925b4</item-id></data>

2022-02-03 02:30:00 | 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-e60feb4f-de49-4dee-9bd3-df2e79713f44</value></node><item-id label="Item ID" type="text-single"><value>item-c229df30-684c-4100-881b-cde65ac925b4</value></item-id><item label="Item" type="text-multi"><value><item id="item-c229df30-684c-4100-881b-cde65ac925b4"><test>item-c229df30-684c-4100-881b-cde65ac925b4</test></item></value></item></result>

2022-02-03 02:30:00 | [Mutex] notify: [retrieved:item:item-c229df30-684c-4100-881b-cde65ac925b4:payload-matches:true:localhost]

2022-02-03 02:30:00 | [Mutex] received everything.

2022-02-03 02:30:00 | [Mutex] isItemNotified: retrieved:item:item-c229df30-684c-4100-881b-cde65ac925b4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2022-02-03 02:30:00 |

2022-02-03 02:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:30:00 | ------------------------------------

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

2022-02-03 02:30:01 | 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-e60feb4f-de49-4dee-9bd3-df2e79713f44</value><value>node-8a632395-3adb-4eb0-bb4b-f802af2b7f90</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-02-03 02:30:01 |

2022-02-03 02:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:30:01 | ------------------------------------

2022-02-03 02:30:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e60feb4f-de49-4dee-9bd3-df2e79713f44)</node-pattern></data>

2022-02-03 02:30:01 | 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-02-03 02:29:59 |

2022-02-03 02:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:29:59 | ------------------------------------

2022-02-03 02:29:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e60feb4f-de49-4dee-9bd3-df2e79713f44</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.472s
2022-02-03 02:30:01 |

2022-02-03 02:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:30:01 | ------------------------------------

2022-02-03 02:30:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e60feb4f-de49-4dee-9bd3-df2e79713f44</node><jids><value>admin@test-domain.com</value></jids></data>

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