Generated by TestNG with ReportNG at 19:51 PDT on Tuesday 25 August 2020
root@9adf47d9b258 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.371s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.794s
2020-08-25 20:07:25 |

2020-08-25 20:07:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-08-25 20:07:25 | ------------------------------------

2020-08-25 20:07:25 | [Mutex] isItemNotified: node_kbv2ai0203:exists :: false

2020-08-25 20:07:25 | [Mutex] waiting for: [node_kbv2ai0203:create_node]

2020-08-25 20:07:25 | [Mutex] received everything.

2020-08-25 20:07:25 | [Mutex] isItemNotified: node_kbv2ai0203:create_node:success :: true

2020-08-25 20:07:25 | [Mutex] waiting for: [node_kbv2ai0203:subscribe_node]

2020-08-25 20:07:25 | [Mutex] received everything.

2020-08-25 20:07:25 | [Mutex] isItemNotified: node_kbv2ai0203:subscribe_node:success :: true

2020-08-25 20:07:25 |


===== publishing normal message (to online)


2020-08-25 20:07:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-25 20:07:25 | command: <data><node>node_kbv2ai0203</node><entry><content>content_xbjcf0204</content></entry></data>

2020-08-25 20:07:25 | target: http://localhost:8088

2020-08-25 20:07:25 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-08-25 20:07:25 | entity: <data><node>node_kbv2ai0203</node><entry><content>content_xbjcf0204</content></entry></data>

2020-08-25 20:07:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 03:07:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-25 20:07:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05851a67-d22d-4675-b306-b0f5d247b53e</value></item-id></result>

2020-08-25 20:07:25 | contains: true

2020-08-25 20:07:25 | [Mutex] received everything.

2020-08-25 20:07:25 | [Mutex] isItemNotified: user_regularpon63r0202@test-domain.com:message:received:content_xbjcf0204 :: true

2020-08-25 20:07:25 |


===== publishing already old message - expecting message being filtered out (to online)


2020-08-25 20:07:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-25 20:07:25 | command: <data><node>node_kbv2ai0203</node><expire-at>2020-08-26T03:07:20Z</expire-at><entry><content>content_4fdase0205</content></entry></data>

2020-08-25 20:07:25 | target: http://localhost:8088

2020-08-25 20:07:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-25 20:07:25 | entity: <data><node>node_kbv2ai0203</node><expire-at>2020-08-26T03:07:20Z</expire-at><entry><content>content_4fdase0205</content></entry></data>

2020-08-25 20:07:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 03:07:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-25 20:07:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8119a2d5-140d-4d5e-ab03-e4864abede53</value></item-id></result>

2020-08-25 20:07:25 | contains: true

2020-08-25 20:07:25 | [Mutex] waiting for: [user_regularpon63r0202@test-domain.com:message:received:content_4fdase0205]

2020-08-25 20:07:40 | [Mutex] timeout. Not received [user_regularpon63r0202@test-domain.com:message:received:content_4fdase0205]

2020-08-25 20:07:40 | [Mutex] isItemNotified: user_regularpon63r0202@test-domain.com:message:received:content_4fdase0205 :: false

2020-08-25 20:07:40 |


===== publishing normal message (to offline)


2020-08-25 20:07:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-25 20:07:40 | command: <data><node>node_kbv2ai0203</node><entry><content>content_wijeae0206</content></entry></data>

2020-08-25 20:07:40 | target: http://localhost:8088

2020-08-25 20:07:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-25 20:07:40 | entity: <data><node>node_kbv2ai0203</node><entry><content>content_wijeae0206</content></entry></data>

2020-08-25 20:07:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 03:07:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-25 20:07:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>25aa4d5a-8a15-414e-b24e-0e84b89dbd50</value></item-id></result>

2020-08-25 20:07:40 | contains: true

2020-08-25 20:07:45 | [Mutex] waiting for: [user_regularpon63r0202@test-domain.com:message:received:content_wijeae0206]

2020-08-25 20:07:45 | [Mutex] waiting for: [user_regularpon63r0202@test-domain.com:message:received:content_wijeae0206]

2020-08-25 20:07:45 | [Mutex] received everything.

2020-08-25 20:07:45 | [Mutex] isItemNotified: user_regularpon63r0202@test-domain.com:message:received:content_wijeae0206 :: true

2020-08-25 20:07:45 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-08-25 20:07:45 | [Mutex] received everything.

2020-08-25 20:07:45 | [Mutex] isItemNotified: node_kbv2ai0203:subscribe_node:success :: true

2020-08-25 20:07:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-25 20:07:45 | command: <data><node>node_kbv2ai0203</node><expire-at>2020-08-26T03:07:50Z</expire-at><entry><content>content_scm0aq0207</content></entry></data>

2020-08-25 20:07:45 | target: http://localhost:8088

2020-08-25 20:07:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-25 20:07:45 | entity: <data><node>node_kbv2ai0203</node><expire-at>2020-08-26T03:07:50Z</expire-at><entry><content>content_scm0aq0207</content></entry></data>

2020-08-25 20:07:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 03:07:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-25 20:07:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d1bf7cd8-a278-44c0-8c4c-5e10a271cac5</value></item-id></result>

2020-08-25 20:07:46 | contains: true

2020-08-25 20:07:54 | [Mutex] waiting for: [user_regularpon63r0202@test-domain.com:message:received:content_scm0aq0207]

2020-08-25 20:08:09 | [Mutex] timeout. Not received [user_regularpon63r0202@test-domain.com:message:received:content_scm0aq0207]

2020-08-25 20:08:09 | [Mutex] received everything.

2020-08-25 20:08:09 | [Mutex] isItemNotified: user_regularpon63r0202@test-domain.com:message:received:content_scm0aq0207 :: false

2020-08-25 20:08:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_scm0aq0207 :: true