Generated by TestNG with ReportNG at 21:21 PST on Thursday 28 January 2021
root@eaa73862192b / 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 : 9.788s

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

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

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

2021-01-28 21:37:17 | [Mutex] waiting for: [configured:node:node-50e14ced-03aa-441e-ae31-296ab16bee3c:node-fb9ca7d2-0195-46fa-973c-d980ffcc6dff]

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

2021-01-28 21:37:17 | [Mutex] isItemNotified: configured:node:node-50e14ced-03aa-441e-ae31-296ab16bee3c:node-fb9ca7d2-0195-46fa-973c-d980ffcc6dff :: true

2021-01-28 21:37:18 | [Mutex] waiting for: [received:nodes:57926eb4-6646-4eff-afac-2c9dc31469dd:localhost]

2021-01-28 21:37:18 | [Mutex] received everything.

2021-01-28 21:37:18 | [Mutex] isItemNotified: received:node:57926eb4-6646-4eff-afac-2c9dc31469dd:localhost:node-50e14ced-03aa-441e-ae31-296ab16bee3c:Node 50e14ced-03aa-441e-ae31-296ab16bee3c :: true

2021-01-28 21:37:18 | [Mutex] waiting for: [received:nodes:4b1eec3f-9d60-4db9-8cb2-65e43c440604:localhost]

2021-01-28 21:37:18 | [Mutex] waiting for: [received:nodes:4b1eec3f-9d60-4db9-8cb2-65e43c440604:localhost]

2021-01-28 21:37:18 | [Mutex] received everything.

2021-01-28 21:37:18 | [Mutex] isItemNotified: received:node:4b1eec3f-9d60-4db9-8cb2-65e43c440604:localhost:node-50e14ced-03aa-441e-ae31-296ab16bee3c:Node 50e14ced-03aa-441e-ae31-296ab16bee3c :: false

createNodes 1.456s
2021-01-28 21:37:15 |

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

2021-01-28 21:37:15 | ------------------------------------

2021-01-28 21:37:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-50e14ced-03aa-441e-ae31-296ab16bee3c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 50e14ced-03aa-441e-ae31-296ab16bee3c</title></pubsub></data>

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

2021-01-28 21:37:16 | [Mutex] waiting for: [received:nodes:05629773-634b-4042-8d6d-03c1d0b08cc1:localhost]

2021-01-28 21:37:16 | [Mutex] received everything.

2021-01-28 21:37:16 | [Mutex] isItemNotified: received:node:05629773-634b-4042-8d6d-03c1d0b08cc1:localhost:node-50e14ced-03aa-441e-ae31-296ab16bee3c:Node 50e14ced-03aa-441e-ae31-296ab16bee3c :: true

createSubnodes 1.022s
2021-01-28 21:37:16 |

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

2021-01-28 21:37:16 | ------------------------------------

2021-01-28 21:37:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fb9ca7d2-0195-46fa-973c-d980ffcc6dff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fb9ca7d2-0195-46fa-973c-d980ffcc6dff</title></pubsub></data>

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

2021-01-28 21:37:17 | [Mutex] waiting for: [received:nodes:8d28924a-1908-400d-8801-6d5bb1d44307:localhost]

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

2021-01-28 21:37:17 | [Mutex] isItemNotified: received:node:8d28924a-1908-400d-8801-6d5bb1d44307:localhost:node-fb9ca7d2-0195-46fa-973c-d980ffcc6dff:Node fb9ca7d2-0195-46fa-973c-d980ffcc6dff :: true

deleteNodes 1.016s
2021-01-28 21:37:23 |

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

2021-01-28 21:37:23 | ------------------------------------

2021-01-28 21:37:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fb9ca7d2-0195-46fa-973c-d980ffcc6dff</node></data>

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

2021-01-28 21:37:24 | [Mutex] waiting for: [received:nodes:a9e11308-118b-478a-ac1b-28a1677e8a6a:localhost]

2021-01-28 21:37:24 | [Mutex] received everything.

2021-01-28 21:37:24 | [Mutex] isItemNotified: received:node:a9e11308-118b-478a-ac1b-28a1677e8a6a:localhost:node-fb9ca7d2-0195-46fa-973c-d980ffcc6dff:Node fb9ca7d2-0195-46fa-973c-d980ffcc6dff :: false

deleteSubnodes 1.105s
2021-01-28 21:37:22 |

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

2021-01-28 21:37:22 | ------------------------------------

2021-01-28 21:37:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-50e14ced-03aa-441e-ae31-296ab16bee3c</node></data>

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

2021-01-28 21:37:23 | [Mutex] waiting for: [received:nodes:af693448-44ad-4a78-abb5-77905933e79b:localhost]

2021-01-28 21:37:23 | [Mutex] received everything.

2021-01-28 21:37:23 | [Mutex] isItemNotified: received:node:af693448-44ad-4a78-abb5-77905933e79b:localhost:node-50e14ced-03aa-441e-ae31-296ab16bee3c:Node 50e14ced-03aa-441e-ae31-296ab16bee3c :: false

2021-01-28 21:37:23 | [Mutex] waiting for: [received:nodes:925a9bf3-8f5b-4e6e-8e00-6bd627cb0d82:localhost]

2021-01-28 21:37:23 | [Mutex] received everything.

2021-01-28 21:37:23 | [Mutex] isItemNotified: received:node:925a9bf3-8f5b-4e6e-8e00-6bd627cb0d82:localhost:node-50e14ced-03aa-441e-ae31-296ab16bee3c:Node 50e14ced-03aa-441e-ae31-296ab16bee3c :: false

publishItemsToNodes 0.159s
2021-01-28 21:37:19 |

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

2021-01-28 21:37:19 | ------------------------------------

2021-01-28 21:37:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-50e14ced-03aa-441e-ae31-296ab16bee3c</node><item-id>item-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd</item-id><entry><test>item-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd</test></entry></data>

2021-01-28 21:37:20 | 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-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd</value></item-id></result>

2021-01-28 21:37:20 | [Mutex] waiting for: [published:item:notifieditem-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd:admin@test-domain.com]

2021-01-28 21:37:20 | [Mutex] received everything.

2021-01-28 21:37:20 | [Mutex] isItemNotified: published:item:notifieditem-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd:admin@test-domain.com :: true

retractItemsFromNodes 0.240s
2021-01-28 21:37:20 |

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

2021-01-28 21:37:20 | ------------------------------------

2021-01-28 21:37:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-50e14ced-03aa-441e-ae31-296ab16bee3c</node><item-id>item-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd</item-id></data>

2021-01-28 21:37:20 | 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-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd</value></item-id></result>

2021-01-28 21:37:20 | [Mutex] received everything.

2021-01-28 21:37:20 | [Mutex] isItemNotified: retracted:item:notifieditem-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.320s
2021-01-28 21:37:20 |

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

2021-01-28 21:37:20 | ------------------------------------

2021-01-28 21:37:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-50e14ced-03aa-441e-ae31-296ab16bee3c</node><item-id>item-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd</item-id></data>

2021-01-28 21:37:20 | 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-50e14ced-03aa-441e-ae31-296ab16bee3c</value></node><item-id label="Item ID" type="text-single"><value>item-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd</value></item-id><item label="Item" type="text-multi"><value><item id="item-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd"><test>item-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd</test></item></value></item></result>

2021-01-28 21:37:20 | [Mutex] notify: [retrieved:item:item-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd:payload-matches:true:localhost]

2021-01-28 21:37:20 | [Mutex] received everything.

2021-01-28 21:37:20 | [Mutex] isItemNotified: retrieved:item:item-05c33fbe-8db7-4a4f-a53d-4345a9d8dfdd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-28 21:37:20 |

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

2021-01-28 21:37:20 | ------------------------------------

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

2021-01-28 21:37:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-50e14ced-03aa-441e-ae31-296ab16bee3c</value><value>test</value><value>node-fb9ca7d2-0195-46fa-973c-d980ffcc6dff</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-01-28 21:37:20 |

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

2021-01-28 21:37:20 | ------------------------------------

2021-01-28 21:37:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-50e14ced-03aa-441e-ae31-296ab16bee3c)</node-pattern></data>

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

subscribeNodes 1.110s
2021-01-28 21:37:18 |

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

2021-01-28 21:37:18 | ------------------------------------

2021-01-28 21:37:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-50e14ced-03aa-441e-ae31-296ab16bee3c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.224s
2021-01-28 21:37:20 |

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

2021-01-28 21:37:20 | ------------------------------------

2021-01-28 21:37:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-50e14ced-03aa-441e-ae31-296ab16bee3c</node><jids><value>admin@test-domain.com</value></jids></data>

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