Generated by TestNG with ReportNG at 22:43 PDT on Friday 14 May 2021
root@785cf647a4ab / 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.567s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.715s
2021-05-14 22:59:17 |

2021-05-14 22:59:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-14 22:59:17 | ------------------------------------

2021-05-14 22:59:17 | [Mutex] isItemNotified: node_gqufvd0203:exists :: false

2021-05-14 22:59:17 | [Mutex] waiting for: [node_gqufvd0203:create_node]

2021-05-14 22:59:17 | [Mutex] received everything.

2021-05-14 22:59:17 | [Mutex] isItemNotified: node_gqufvd0203:create_node:success :: true

2021-05-14 22:59:17 | [Mutex] waiting for: [node_gqufvd0203:subscribe_node]

2021-05-14 22:59:17 | [Mutex] waiting for: [node_gqufvd0203:subscribe_node]

2021-05-14 22:59:17 | [Mutex] received everything.

2021-05-14 22:59:17 | [Mutex] isItemNotified: node_gqufvd0203:subscribe_node:success :: true

2021-05-14 22:59:17 |


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


2021-05-14 22:59:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 22:59:17 | command: <data><node>node_gqufvd0203</node><entry><content>content_danp2k0204</content></entry></data>

2021-05-14 22:59:17 | target: http://localhost:8088

2021-05-14 22:59:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-14 22:59:17 | entity: <data><node>node_gqufvd0203</node><entry><content>content_danp2k0204</content></entry></data>

2021-05-14 22:59:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:59:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 22:59:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>df01146c-cf18-49d8-b528-eb7a698fdf5d</value></item-id></result>

2021-05-14 22:59:17 | contains: true

2021-05-14 22:59:17 | [Mutex] received everything.

2021-05-14 22:59:17 | [Mutex] isItemNotified: user_regular3khybs0202@test-domain.com:message:received:content_danp2k0204 :: true

2021-05-14 22:59:17 |


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


2021-05-14 22:59:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 22:59:17 | command: <data><node>node_gqufvd0203</node><expire-at>2021-05-15T05:59:12Z</expire-at><entry><content>content_xvah9g0205</content></entry></data>

2021-05-14 22:59:17 | target: http://localhost:8088

2021-05-14 22:59:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-14 22:59:17 | entity: <data><node>node_gqufvd0203</node><expire-at>2021-05-15T05:59:12Z</expire-at><entry><content>content_xvah9g0205</content></entry></data>

2021-05-14 22:59:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:59:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 22:59:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>80cf31d3-3b60-488f-852b-47982cf0961a</value></item-id></result>

2021-05-14 22:59:17 | contains: true

2021-05-14 22:59:17 | [Mutex] waiting for: [user_regular3khybs0202@test-domain.com:message:received:content_xvah9g0205]

2021-05-14 22:59:32 | [Mutex] timeout. Not received [user_regular3khybs0202@test-domain.com:message:received:content_xvah9g0205]

2021-05-14 22:59:32 | [Mutex] isItemNotified: user_regular3khybs0202@test-domain.com:message:received:content_xvah9g0205 :: false

2021-05-14 22:59:32 |


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


2021-05-14 22:59:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 22:59:32 | command: <data><node>node_gqufvd0203</node><entry><content>content_o7a4oi0206</content></entry></data>

2021-05-14 22:59:32 | target: http://localhost:8088

2021-05-14 22:59:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-14 22:59:32 | entity: <data><node>node_gqufvd0203</node><entry><content>content_o7a4oi0206</content></entry></data>

2021-05-14 22:59:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:59:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 22:59:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1028294a-e2c1-41ab-9078-32f8d6c10c56</value></item-id></result>

2021-05-14 22:59:33 | contains: true

2021-05-14 22:59:38 | [Mutex] waiting for: [user_regular3khybs0202@test-domain.com:message:received:content_o7a4oi0206]

2021-05-14 22:59:38 | [Mutex] received everything.

2021-05-14 22:59:38 | [Mutex] isItemNotified: user_regular3khybs0202@test-domain.com:message:received:content_o7a4oi0206 :: true

2021-05-14 22:59:38 |


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


2021-05-14 22:59:38 | [Mutex] received everything.

2021-05-14 22:59:38 | [Mutex] isItemNotified: node_gqufvd0203:subscribe_node:success :: true

2021-05-14 22:59:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 22:59:38 | command: <data><node>node_gqufvd0203</node><expire-at>2021-05-15T05:59:43Z</expire-at><entry><content>content_h66g0l0207</content></entry></data>

2021-05-14 22:59:38 | target: http://localhost:8088

2021-05-14 22:59:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-14 22:59:38 | entity: <data><node>node_gqufvd0203</node><expire-at>2021-05-15T05:59:43Z</expire-at><entry><content>content_h66g0l0207</content></entry></data>

2021-05-14 22:59:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:59:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 22:59:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4621ffac-b182-4842-b1b8-d1aa52e33afd</value></item-id></result>

2021-05-14 22:59:38 | contains: true

2021-05-14 22:59:46 | [Mutex] waiting for: [user_regular3khybs0202@test-domain.com:message:received:content_h66g0l0207]

2021-05-14 23:00:01 | [Mutex] timeout. Not received [user_regular3khybs0202@test-domain.com:message:received:content_h66g0l0207]

2021-05-14 23:00:01 | [Mutex] received everything.

2021-05-14 23:00:01 | [Mutex] isItemNotified: user_regular3khybs0202@test-domain.com:message:received:content_h66g0l0207 :: false

2021-05-14 23:00:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_h66g0l0207 :: true