Generated by TestNG with ReportNG at 11:17 PDT on Friday 18 September 2020
root@f53a97fae7d2 / 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.534s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.694s
2020-09-18 11:34:51 |

2020-09-18 11:34:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-18 11:34:51 | ------------------------------------

2020-09-18 11:34:51 | [Mutex] isItemNotified: node_cu0pu90203:exists :: false

2020-09-18 11:34:51 | [Mutex] waiting for: [node_cu0pu90203:create_node]

2020-09-18 11:34:51 | [Mutex] received everything.

2020-09-18 11:34:51 | [Mutex] isItemNotified: node_cu0pu90203:create_node:success :: true

2020-09-18 11:34:51 | [Mutex] waiting for: [node_cu0pu90203:subscribe_node]

2020-09-18 11:34:51 | [Mutex] received everything.

2020-09-18 11:34:51 | [Mutex] isItemNotified: node_cu0pu90203:subscribe_node:success :: true

2020-09-18 11:34:51 |


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


2020-09-18 11:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 11:34:51 | command: <data><node>node_cu0pu90203</node><entry><content>content_adk3a20204</content></entry></data>

2020-09-18 11:34:51 | target: http://localhost:8088

2020-09-18 11:34:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 11:34:51 | entity: <data><node>node_cu0pu90203</node><entry><content>content_adk3a20204</content></entry></data>

2020-09-18 11:34:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 18:34:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 11:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d2d76748-0c5c-4e14-acb2-3656b0377ab3</value></item-id></result>

2020-09-18 11:34:51 | contains: true

2020-09-18 11:34:51 | [Mutex] waiting for: [user_regularumamb00202@test-domain.com:message:received:content_adk3a20204]

2020-09-18 11:34:51 | [Mutex] received everything.

2020-09-18 11:34:51 | [Mutex] isItemNotified: user_regularumamb00202@test-domain.com:message:received:content_adk3a20204 :: true

2020-09-18 11:34:51 |


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


2020-09-18 11:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 11:34:51 | command: <data><node>node_cu0pu90203</node><expire-at>2020-09-18T18:34:46Z</expire-at><entry><content>content_grxl4s0205</content></entry></data>

2020-09-18 11:34:51 | target: http://localhost:8088

2020-09-18 11:34:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 11:34:51 | entity: <data><node>node_cu0pu90203</node><expire-at>2020-09-18T18:34:46Z</expire-at><entry><content>content_grxl4s0205</content></entry></data>

2020-09-18 11:34:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 18:34:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 11:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f3af6a29-da20-460e-8bce-ea3b2831c1a0</value></item-id></result>

2020-09-18 11:34:51 | contains: true

2020-09-18 11:34:51 | [Mutex] waiting for: [user_regularumamb00202@test-domain.com:message:received:content_grxl4s0205]

2020-09-18 11:35:06 | [Mutex] timeout. Not received [user_regularumamb00202@test-domain.com:message:received:content_grxl4s0205]

2020-09-18 11:35:06 | [Mutex] isItemNotified: user_regularumamb00202@test-domain.com:message:received:content_grxl4s0205 :: false

2020-09-18 11:35:06 |


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


2020-09-18 11:35:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 11:35:06 | command: <data><node>node_cu0pu90203</node><entry><content>content_beqo6n0206</content></entry></data>

2020-09-18 11:35:06 | target: http://localhost:8088

2020-09-18 11:35:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 11:35:06 | entity: <data><node>node_cu0pu90203</node><entry><content>content_beqo6n0206</content></entry></data>

2020-09-18 11:35:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 18:35:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 11:35:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8aac452e-8dd3-4903-97b1-ace7c9fcbdea</value></item-id></result>

2020-09-18 11:35:06 | contains: true

2020-09-18 11:35:12 | [Mutex] waiting for: [user_regularumamb00202@test-domain.com:message:received:content_beqo6n0206]

2020-09-18 11:35:12 | [Mutex] received everything.

2020-09-18 11:35:12 | [Mutex] isItemNotified: user_regularumamb00202@test-domain.com:message:received:content_beqo6n0206 :: true

2020-09-18 11:35:12 |


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


2020-09-18 11:35:12 | [Mutex] received everything.

2020-09-18 11:35:12 | [Mutex] isItemNotified: node_cu0pu90203:subscribe_node:success :: true

2020-09-18 11:35:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 11:35:12 | command: <data><node>node_cu0pu90203</node><expire-at>2020-09-18T18:35:17Z</expire-at><entry><content>content_m8oulu0207</content></entry></data>

2020-09-18 11:35:12 | target: http://localhost:8088

2020-09-18 11:35:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 11:35:12 | entity: <data><node>node_cu0pu90203</node><expire-at>2020-09-18T18:35:17Z</expire-at><entry><content>content_m8oulu0207</content></entry></data>

2020-09-18 11:35:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 18:35:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 11:35:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d3c8e461-ea50-42a1-a34c-b37e019161f4</value></item-id></result>

2020-09-18 11:35:12 | contains: true

2020-09-18 11:35:20 | [Mutex] waiting for: [user_regularumamb00202@test-domain.com:message:received:content_m8oulu0207]

2020-09-18 11:35:35 | [Mutex] timeout. Not received [user_regularumamb00202@test-domain.com:message:received:content_m8oulu0207]

2020-09-18 11:35:35 | [Mutex] received everything.

2020-09-18 11:35:35 | [Mutex] isItemNotified: user_regularumamb00202@test-domain.com:message:received:content_m8oulu0207 :: false

2020-09-18 11:35:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m8oulu0207 :: true