Generated by TestNG with ReportNG at 23:57 PDT on Tuesday 15 September 2020
root@b111a435ccb0 / 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.597s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.801s
2020-09-16 00:13:01 |

2020-09-16 00:13:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-16 00:13:01 | ------------------------------------

2020-09-16 00:13:01 | [Mutex] isItemNotified: node_dlee6n0203:exists :: false

2020-09-16 00:13:01 | [Mutex] waiting for: [node_dlee6n0203:create_node]

2020-09-16 00:13:01 | [Mutex] received everything.

2020-09-16 00:13:01 | [Mutex] isItemNotified: node_dlee6n0203:create_node:success :: true

2020-09-16 00:13:01 | [Mutex] waiting for: [node_dlee6n0203:subscribe_node]

2020-09-16 00:13:01 | [Mutex] waiting for: [node_dlee6n0203:subscribe_node]

2020-09-16 00:13:01 | [Mutex] received everything.

2020-09-16 00:13:01 | [Mutex] isItemNotified: node_dlee6n0203:subscribe_node:success :: true

2020-09-16 00:13:01 |


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


2020-09-16 00:13:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 00:13:01 | command: <data><node>node_dlee6n0203</node><entry><content>content_r48mkq0204</content></entry></data>

2020-09-16 00:13:01 | target: http://localhost:8088

2020-09-16 00:13:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-16 00:13:01 | entity: <data><node>node_dlee6n0203</node><entry><content>content_r48mkq0204</content></entry></data>

2020-09-16 00:13:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 07:13:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 00:13:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cbe0519e-f10a-4589-8711-147553968de6</value></item-id></result>

2020-09-16 00:13:01 | contains: true

2020-09-16 00:13:01 | [Mutex] waiting for: [user_regularo6bcxh0202@test-domain.com:message:received:content_r48mkq0204]

2020-09-16 00:13:01 | [Mutex] received everything.

2020-09-16 00:13:01 | [Mutex] isItemNotified: user_regularo6bcxh0202@test-domain.com:message:received:content_r48mkq0204 :: true

2020-09-16 00:13:01 |


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


2020-09-16 00:13:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 00:13:01 | command: <data><node>node_dlee6n0203</node><expire-at>2020-09-16T07:12:56Z</expire-at><entry><content>content_jq8jjj0205</content></entry></data>

2020-09-16 00:13:01 | target: http://localhost:8088

2020-09-16 00:13:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-16 00:13:01 | entity: <data><node>node_dlee6n0203</node><expire-at>2020-09-16T07:12:56Z</expire-at><entry><content>content_jq8jjj0205</content></entry></data>

2020-09-16 00:13:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 07:13:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 00:13:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8bbd9ffa-f1bd-4f7d-a0a3-83052da7bb83</value></item-id></result>

2020-09-16 00:13:01 | contains: true

2020-09-16 00:13:01 | [Mutex] waiting for: [user_regularo6bcxh0202@test-domain.com:message:received:content_jq8jjj0205]

2020-09-16 00:13:16 | [Mutex] timeout. Not received [user_regularo6bcxh0202@test-domain.com:message:received:content_jq8jjj0205]

2020-09-16 00:13:16 | [Mutex] isItemNotified: user_regularo6bcxh0202@test-domain.com:message:received:content_jq8jjj0205 :: false

2020-09-16 00:13:16 |


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


2020-09-16 00:13:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 00:13:16 | command: <data><node>node_dlee6n0203</node><entry><content>content_jkhrsn0206</content></entry></data>

2020-09-16 00:13:16 | target: http://localhost:8088

2020-09-16 00:13:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-16 00:13:16 | entity: <data><node>node_dlee6n0203</node><entry><content>content_jkhrsn0206</content></entry></data>

2020-09-16 00:13:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 07:13:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 00:13:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9f2c980a-ed03-4d64-8508-f55ae87e2cba</value></item-id></result>

2020-09-16 00:13:16 | contains: true

2020-09-16 00:13:22 | [Mutex] waiting for: [user_regularo6bcxh0202@test-domain.com:message:received:content_jkhrsn0206]

2020-09-16 00:13:22 | [Mutex] waiting for: [user_regularo6bcxh0202@test-domain.com:message:received:content_jkhrsn0206]

2020-09-16 00:13:22 | [Mutex] received everything.

2020-09-16 00:13:22 | [Mutex] isItemNotified: user_regularo6bcxh0202@test-domain.com:message:received:content_jkhrsn0206 :: true

2020-09-16 00:13:22 |


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


2020-09-16 00:13:22 | [Mutex] received everything.

2020-09-16 00:13:22 | [Mutex] isItemNotified: node_dlee6n0203:subscribe_node:success :: true

2020-09-16 00:13:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 00:13:22 | command: <data><node>node_dlee6n0203</node><expire-at>2020-09-16T07:13:27Z</expire-at><entry><content>content_ryre2h0207</content></entry></data>

2020-09-16 00:13:22 | target: http://localhost:8088

2020-09-16 00:13:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-16 00:13:22 | entity: <data><node>node_dlee6n0203</node><expire-at>2020-09-16T07:13:27Z</expire-at><entry><content>content_ryre2h0207</content></entry></data>

2020-09-16 00:13:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 07:13:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 00:13:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>edf1b8c1-5e19-4717-9e11-0bcf75f33b9b</value></item-id></result>

2020-09-16 00:13:22 | contains: true

2020-09-16 00:13:30 | [Mutex] waiting for: [user_regularo6bcxh0202@test-domain.com:message:received:content_ryre2h0207]

2020-09-16 00:13:30 | [Mutex] waiting for: [user_regularo6bcxh0202@test-domain.com:message:received:content_ryre2h0207]

2020-09-16 00:13:30 | [Mutex] waiting for: [user_regularo6bcxh0202@test-domain.com:message:received:content_ryre2h0207]

2020-09-16 00:13:45 | [Mutex] timeout. Not received [user_regularo6bcxh0202@test-domain.com:message:received:content_ryre2h0207]

2020-09-16 00:13:45 | [Mutex] received everything.

2020-09-16 00:13:45 | [Mutex] isItemNotified: user_regularo6bcxh0202@test-domain.com:message:received:content_ryre2h0207 :: false

2020-09-16 00:13:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ryre2h0207 :: true