Generated by TestNG with ReportNG at 21:26 PST on Sunday 01 November 2020
root@43fec6d4badf / 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.915s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.778s
2020-11-01 21:41:02 |

2020-11-01 21:41:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-01 21:41:02 | ------------------------------------

2020-11-01 21:41:02 | [Mutex] isItemNotified: node_srqkjd0203:exists :: false

2020-11-01 21:41:02 | [Mutex] waiting for: [node_srqkjd0203:create_node]

2020-11-01 21:41:02 | [Mutex] received everything.

2020-11-01 21:41:02 | [Mutex] isItemNotified: node_srqkjd0203:create_node:success :: true

2020-11-01 21:41:02 | [Mutex] waiting for: [node_srqkjd0203:subscribe_node]

2020-11-01 21:41:03 | [Mutex] received everything.

2020-11-01 21:41:03 | [Mutex] isItemNotified: node_srqkjd0203:subscribe_node:success :: true

2020-11-01 21:41:03 |


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


2020-11-01 21:41:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:41:03 | command: <data><node>node_srqkjd0203</node><entry><content>content_xz23j10204</content></entry></data>

2020-11-01 21:41:03 | target: http://localhost:8088

2020-11-01 21:41:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-01 21:41:03 | entity: <data><node>node_srqkjd0203</node><entry><content>content_xz23j10204</content></entry></data>

2020-11-01 21:41:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:41:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:41:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0cd10531-a13b-4479-beb5-656665e5ffa6</value></item-id></result>

2020-11-01 21:41:03 | contains: true

2020-11-01 21:41:03 | [Mutex] received everything.

2020-11-01 21:41:03 | [Mutex] isItemNotified: user_regularmskiiv0202@test-domain.com:message:received:content_xz23j10204 :: true

2020-11-01 21:41:03 |


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


2020-11-01 21:41:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:41:03 | command: <data><node>node_srqkjd0203</node><expire-at>2020-11-02T05:40:58Z</expire-at><entry><content>content_64fw1z0205</content></entry></data>

2020-11-01 21:41:03 | target: http://localhost:8088

2020-11-01 21:41:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-01 21:41:03 | entity: <data><node>node_srqkjd0203</node><expire-at>2020-11-02T05:40:58Z</expire-at><entry><content>content_64fw1z0205</content></entry></data>

2020-11-01 21:41:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:41:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:41:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>40339d4c-d885-44fa-b3fa-78642c49c2e9</value></item-id></result>

2020-11-01 21:41:03 | contains: true

2020-11-01 21:41:03 | [Mutex] waiting for: [user_regularmskiiv0202@test-domain.com:message:received:content_64fw1z0205]

2020-11-01 21:41:18 | [Mutex] timeout. Not received [user_regularmskiiv0202@test-domain.com:message:received:content_64fw1z0205]

2020-11-01 21:41:18 | [Mutex] isItemNotified: user_regularmskiiv0202@test-domain.com:message:received:content_64fw1z0205 :: false

2020-11-01 21:41:18 |


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


2020-11-01 21:41:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:41:18 | command: <data><node>node_srqkjd0203</node><entry><content>content_gd1aev0206</content></entry></data>

2020-11-01 21:41:18 | target: http://localhost:8088

2020-11-01 21:41:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-01 21:41:18 | entity: <data><node>node_srqkjd0203</node><entry><content>content_gd1aev0206</content></entry></data>

2020-11-01 21:41:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:41:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:41:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a07ec4b-d3fb-45d6-8a0d-b37fff896209</value></item-id></result>

2020-11-01 21:41:18 | contains: true

2020-11-01 21:41:23 | [Mutex] waiting for: [user_regularmskiiv0202@test-domain.com:message:received:content_gd1aev0206]

2020-11-01 21:41:23 | [Mutex] received everything.

2020-11-01 21:41:23 | [Mutex] isItemNotified: user_regularmskiiv0202@test-domain.com:message:received:content_gd1aev0206 :: true

2020-11-01 21:41:23 |


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


2020-11-01 21:41:23 | [Mutex] received everything.

2020-11-01 21:41:23 | [Mutex] isItemNotified: node_srqkjd0203:subscribe_node:success :: true

2020-11-01 21:41:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:41:23 | command: <data><node>node_srqkjd0203</node><expire-at>2020-11-02T05:41:28Z</expire-at><entry><content>content_atwjzc0207</content></entry></data>

2020-11-01 21:41:23 | target: http://localhost:8088

2020-11-01 21:41:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-01 21:41:23 | entity: <data><node>node_srqkjd0203</node><expire-at>2020-11-02T05:41:28Z</expire-at><entry><content>content_atwjzc0207</content></entry></data>

2020-11-01 21:41:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:41:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:41:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0f78d7c2-7a9b-464d-bafc-19c1e3871a1b</value></item-id></result>

2020-11-01 21:41:23 | contains: true

2020-11-01 21:41:31 | [Mutex] waiting for: [user_regularmskiiv0202@test-domain.com:message:received:content_atwjzc0207]

2020-11-01 21:41:31 | [Mutex] waiting for: [user_regularmskiiv0202@test-domain.com:message:received:content_atwjzc0207]

2020-11-01 21:41:31 | [Mutex] waiting for: [user_regularmskiiv0202@test-domain.com:message:received:content_atwjzc0207]

2020-11-01 21:41:46 | [Mutex] timeout. Not received [user_regularmskiiv0202@test-domain.com:message:received:content_atwjzc0207]

2020-11-01 21:41:46 | [Mutex] received everything.

2020-11-01 21:41:46 | [Mutex] isItemNotified: user_regularmskiiv0202@test-domain.com:message:received:content_atwjzc0207 :: false

2020-11-01 21:41:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_atwjzc0207 :: true