Generated by TestNG with ReportNG at 23:11 PDT on Friday 04 September 2020
root@55161683a995 / 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.486s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.759s
2020-09-04 23:26:22 |

2020-09-04 23:26:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-04 23:26:22 | ------------------------------------

2020-09-04 23:26:22 | [Mutex] isItemNotified: node_5353fy0203:exists :: false

2020-09-04 23:26:22 | [Mutex] waiting for: [node_5353fy0203:create_node]

2020-09-04 23:26:22 | [Mutex] received everything.

2020-09-04 23:26:22 | [Mutex] isItemNotified: node_5353fy0203:create_node:success :: true

2020-09-04 23:26:22 | [Mutex] waiting for: [node_5353fy0203:subscribe_node]

2020-09-04 23:26:22 | [Mutex] waiting for: [node_5353fy0203:subscribe_node]

2020-09-04 23:26:22 | [Mutex] received everything.

2020-09-04 23:26:22 | [Mutex] isItemNotified: node_5353fy0203:subscribe_node:success :: true

2020-09-04 23:26:22 |


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


2020-09-04 23:26:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-04 23:26:22 | command: <data><node>node_5353fy0203</node><entry><content>content_hmap1r0204</content></entry></data>

2020-09-04 23:26:22 | target: http://localhost:8088

2020-09-04 23:26:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-04 23:26:22 | entity: <data><node>node_5353fy0203</node><entry><content>content_hmap1r0204</content></entry></data>

2020-09-04 23:26:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 06:26:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-04 23:26:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0b846f7a-4799-4a8d-a384-d31b37797d50</value></item-id></result>

2020-09-04 23:26:22 | contains: true

2020-09-04 23:26:22 | [Mutex] received everything.

2020-09-04 23:26:22 | [Mutex] isItemNotified: user_regular5xmpc0202@test-domain.com:message:received:content_hmap1r0204 :: true

2020-09-04 23:26:22 |


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


2020-09-04 23:26:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-04 23:26:22 | command: <data><node>node_5353fy0203</node><expire-at>2020-09-05T06:26:17Z</expire-at><entry><content>content_tl2cgv0205</content></entry></data>

2020-09-04 23:26:22 | target: http://localhost:8088

2020-09-04 23:26:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-04 23:26:22 | entity: <data><node>node_5353fy0203</node><expire-at>2020-09-05T06:26:17Z</expire-at><entry><content>content_tl2cgv0205</content></entry></data>

2020-09-04 23:26:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 06:26:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-04 23:26:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>47b668fa-d04b-4427-98da-aa380f72e3b7</value></item-id></result>

2020-09-04 23:26:22 | contains: true

2020-09-04 23:26:22 | [Mutex] waiting for: [user_regular5xmpc0202@test-domain.com:message:received:content_tl2cgv0205]

2020-09-04 23:26:37 | [Mutex] timeout. Not received [user_regular5xmpc0202@test-domain.com:message:received:content_tl2cgv0205]

2020-09-04 23:26:37 | [Mutex] isItemNotified: user_regular5xmpc0202@test-domain.com:message:received:content_tl2cgv0205 :: false

2020-09-04 23:26:37 |


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


2020-09-04 23:26:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-04 23:26:37 | command: <data><node>node_5353fy0203</node><entry><content>content_xosmoj0206</content></entry></data>

2020-09-04 23:26:37 | target: http://localhost:8088

2020-09-04 23:26:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-04 23:26:37 | entity: <data><node>node_5353fy0203</node><entry><content>content_xosmoj0206</content></entry></data>

2020-09-04 23:26:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 06:26:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-04 23:26:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2500146b-6c1a-4d93-9366-0d0d2fa7a7b4</value></item-id></result>

2020-09-04 23:26:37 | contains: true

2020-09-04 23:26:42 | [Mutex] received everything.

2020-09-04 23:26:42 | [Mutex] isItemNotified: user_regular5xmpc0202@test-domain.com:message:received:content_xosmoj0206 :: true

2020-09-04 23:26:42 |


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


2020-09-04 23:26:42 | [Mutex] received everything.

2020-09-04 23:26:42 | [Mutex] isItemNotified: node_5353fy0203:subscribe_node:success :: true

2020-09-04 23:26:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-04 23:26:42 | command: <data><node>node_5353fy0203</node><expire-at>2020-09-05T06:26:47Z</expire-at><entry><content>content_3rztt40207</content></entry></data>

2020-09-04 23:26:42 | target: http://localhost:8088

2020-09-04 23:26:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-04 23:26:42 | entity: <data><node>node_5353fy0203</node><expire-at>2020-09-05T06:26:47Z</expire-at><entry><content>content_3rztt40207</content></entry></data>

2020-09-04 23:26:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 06:26:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-04 23:26:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>14069b1a-e16f-432f-a13c-bae173f31a65</value></item-id></result>

2020-09-04 23:26:42 | contains: true

2020-09-04 23:26:50 | [Mutex] waiting for: [user_regular5xmpc0202@test-domain.com:message:received:content_3rztt40207]

2020-09-04 23:27:05 | [Mutex] timeout. Not received [user_regular5xmpc0202@test-domain.com:message:received:content_3rztt40207]

2020-09-04 23:27:05 | [Mutex] received everything.

2020-09-04 23:27:05 | [Mutex] isItemNotified: user_regular5xmpc0202@test-domain.com:message:received:content_3rztt40207 :: false

2020-09-04 23:27:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3rztt40207 :: true