Generated by TestNG with ReportNG at 21:44 PST on Monday 04 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.841s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.131s
2021-01-04 22:01:04 |

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

2021-01-04 22:01:04 | ------------------------------------

2021-01-04 22:01:04 | [Mutex] waiting for: [configured:node:node-02fe123f-a1ac-4571-866e-2d95bfd98cce:node-5201d183-c979-4d69-b585-8a1abaac6b4a]

2021-01-04 22:01:04 | [Mutex] received everything.

2021-01-04 22:01:04 | [Mutex] isItemNotified: configured:node:node-02fe123f-a1ac-4571-866e-2d95bfd98cce:node-5201d183-c979-4d69-b585-8a1abaac6b4a :: true

2021-01-04 22:01:05 | [Mutex] waiting for: [received:nodes:71120dc4-c0b8-40a3-b640-f4b0f2e3eeb8:localhost]

2021-01-04 22:01:05 | [Mutex] received everything.

2021-01-04 22:01:05 | [Mutex] isItemNotified: received:node:71120dc4-c0b8-40a3-b640-f4b0f2e3eeb8:localhost:node-02fe123f-a1ac-4571-866e-2d95bfd98cce:Node 02fe123f-a1ac-4571-866e-2d95bfd98cce :: true

2021-01-04 22:01:05 | [Mutex] waiting for: [received:nodes:c1f89517-4bbf-4c4a-858e-b2a986d66241:localhost]

2021-01-04 22:01:05 | [Mutex] waiting for: [received:nodes:c1f89517-4bbf-4c4a-858e-b2a986d66241:localhost]

2021-01-04 22:01:05 | [Mutex] received everything.

2021-01-04 22:01:05 | [Mutex] isItemNotified: received:node:c1f89517-4bbf-4c4a-858e-b2a986d66241:localhost:node-02fe123f-a1ac-4571-866e-2d95bfd98cce:Node 02fe123f-a1ac-4571-866e-2d95bfd98cce :: false

createNodes 1.509s
2021-01-04 22:01:02 |

2021-01-04 22:01:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:02 | ------------------------------------

2021-01-04 22:01:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-02fe123f-a1ac-4571-866e-2d95bfd98cce</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 02fe123f-a1ac-4571-866e-2d95bfd98cce</title></pubsub></data>

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

2021-01-04 22:01:03 | [Mutex] waiting for: [received:nodes:8cecd4e4-e7a6-4145-8e51-849a9d360197:localhost]

2021-01-04 22:01:03 | [Mutex] received everything.

2021-01-04 22:01:03 | [Mutex] isItemNotified: received:node:8cecd4e4-e7a6-4145-8e51-849a9d360197:localhost:node-02fe123f-a1ac-4571-866e-2d95bfd98cce:Node 02fe123f-a1ac-4571-866e-2d95bfd98cce :: true

createSubnodes 1.022s
2021-01-04 22:01:03 |

2021-01-04 22:01:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:03 | ------------------------------------

2021-01-04 22:01:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5201d183-c979-4d69-b585-8a1abaac6b4a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5201d183-c979-4d69-b585-8a1abaac6b4a</title></pubsub></data>

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

2021-01-04 22:01:04 | [Mutex] waiting for: [received:nodes:87220a9f-9f19-43f6-b94b-3792b521adc3:localhost]

2021-01-04 22:01:04 | [Mutex] received everything.

2021-01-04 22:01:04 | [Mutex] isItemNotified: received:node:87220a9f-9f19-43f6-b94b-3792b521adc3:localhost:node-5201d183-c979-4d69-b585-8a1abaac6b4a:Node 5201d183-c979-4d69-b585-8a1abaac6b4a :: true

deleteNodes 1.018s
2021-01-04 22:01:10 |

2021-01-04 22:01:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:10 | ------------------------------------

2021-01-04 22:01:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5201d183-c979-4d69-b585-8a1abaac6b4a</node></data>

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

2021-01-04 22:01:11 | [Mutex] waiting for: [received:nodes:df4c78b5-63c0-4f9a-ae8f-63a552ce92e2:localhost]

2021-01-04 22:01:11 | [Mutex] received everything.

2021-01-04 22:01:11 | [Mutex] isItemNotified: received:node:df4c78b5-63c0-4f9a-ae8f-63a552ce92e2:localhost:node-5201d183-c979-4d69-b585-8a1abaac6b4a:Node 5201d183-c979-4d69-b585-8a1abaac6b4a :: false

deleteSubnodes 1.145s
2021-01-04 22:01:09 |

2021-01-04 22:01:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:09 | ------------------------------------

2021-01-04 22:01:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-02fe123f-a1ac-4571-866e-2d95bfd98cce</node></data>

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

2021-01-04 22:01:10 | [Mutex] waiting for: [received:nodes:9b685a80-7914-45b1-bba7-8b19e85cd67f:localhost]

2021-01-04 22:01:10 | [Mutex] waiting for: [received:nodes:9b685a80-7914-45b1-bba7-8b19e85cd67f:localhost]

2021-01-04 22:01:10 | [Mutex] waiting for: [received:nodes:9b685a80-7914-45b1-bba7-8b19e85cd67f:localhost]

2021-01-04 22:01:10 | [Mutex] received everything.

2021-01-04 22:01:10 | [Mutex] isItemNotified: received:node:9b685a80-7914-45b1-bba7-8b19e85cd67f:localhost:node-02fe123f-a1ac-4571-866e-2d95bfd98cce:Node 02fe123f-a1ac-4571-866e-2d95bfd98cce :: false

2021-01-04 22:01:10 | [Mutex] waiting for: [received:nodes:6834c988-3956-40e7-94d7-6bbfbb646f70:localhost]

2021-01-04 22:01:10 | [Mutex] received everything.

2021-01-04 22:01:10 | [Mutex] isItemNotified: received:node:6834c988-3956-40e7-94d7-6bbfbb646f70:localhost:node-02fe123f-a1ac-4571-866e-2d95bfd98cce:Node 02fe123f-a1ac-4571-866e-2d95bfd98cce :: false

publishItemsToNodes 0.250s
2021-01-04 22:01:07 |

2021-01-04 22:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:07 | ------------------------------------

2021-01-04 22:01:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-02fe123f-a1ac-4571-866e-2d95bfd98cce</node><item-id>item-0d8205af-d431-4a33-9345-a384a5beeb11</item-id><entry><test>item-0d8205af-d431-4a33-9345-a384a5beeb11</test></entry></data>

2021-01-04 22:01:07 | 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-0d8205af-d431-4a33-9345-a384a5beeb11</value></item-id></result>

2021-01-04 22:01:07 | [Mutex] received everything.

2021-01-04 22:01:07 | [Mutex] isItemNotified: published:item:notifieditem-0d8205af-d431-4a33-9345-a384a5beeb11:admin@test-domain.com :: true

retractItemsFromNodes 0.178s
2021-01-04 22:01:07 |

2021-01-04 22:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:07 | ------------------------------------

2021-01-04 22:01:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-02fe123f-a1ac-4571-866e-2d95bfd98cce</node><item-id>item-0d8205af-d431-4a33-9345-a384a5beeb11</item-id></data>

2021-01-04 22:01:07 | 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-0d8205af-d431-4a33-9345-a384a5beeb11</value></item-id></result>

2021-01-04 22:01:07 | [Mutex] waiting for: [retracted:item:notifieditem-0d8205af-d431-4a33-9345-a384a5beeb11:admin@test-domain.com]

2021-01-04 22:01:07 | [Mutex] received everything.

2021-01-04 22:01:07 | [Mutex] isItemNotified: retracted:item:notifieditem-0d8205af-d431-4a33-9345-a384a5beeb11:admin@test-domain.com :: true

retrieveItemsFromNodes 0.234s
2021-01-04 22:01:07 |

2021-01-04 22:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:07 | ------------------------------------

2021-01-04 22:01:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-02fe123f-a1ac-4571-866e-2d95bfd98cce</node><item-id>item-0d8205af-d431-4a33-9345-a384a5beeb11</item-id></data>

2021-01-04 22:01:07 | 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-02fe123f-a1ac-4571-866e-2d95bfd98cce</value></node><item-id label="Item ID" type="text-single"><value>item-0d8205af-d431-4a33-9345-a384a5beeb11</value></item-id><item label="Item" type="text-multi"><value><item id="item-0d8205af-d431-4a33-9345-a384a5beeb11"><test>item-0d8205af-d431-4a33-9345-a384a5beeb11</test></item></value></item></result>

2021-01-04 22:01:07 | [Mutex] notify: [retrieved:item:item-0d8205af-d431-4a33-9345-a384a5beeb11:payload-matches:true:localhost]

2021-01-04 22:01:07 | [Mutex] received everything.

2021-01-04 22:01:07 | [Mutex] isItemNotified: retrieved:item:item-0d8205af-d431-4a33-9345-a384a5beeb11:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2021-01-04 22:01:07 |

2021-01-04 22:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:07 | ------------------------------------

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

2021-01-04 22:01:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-02fe123f-a1ac-4571-866e-2d95bfd98cce</value><value>test</value><value>node-5201d183-c979-4d69-b585-8a1abaac6b4a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.050s
2021-01-04 22:01:07 |

2021-01-04 22:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:07 | ------------------------------------

2021-01-04 22:01:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-02fe123f-a1ac-4571-866e-2d95bfd98cce)</node-pattern></data>

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

subscribeNodes 1.101s
2021-01-04 22:01:05 |

2021-01-04 22:01:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:05 | ------------------------------------

2021-01-04 22:01:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-02fe123f-a1ac-4571-866e-2d95bfd98cce</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.213s
2021-01-04 22:01:07 |

2021-01-04 22:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 22:01:07 | ------------------------------------

2021-01-04 22:01:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-02fe123f-a1ac-4571-866e-2d95bfd98cce</node><jids><value>admin@test-domain.com</value></jids></data>

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