Generated by TestNG with ReportNG at 22:15 PDT on Friday 14 May 2021
root@b2c2a8eba6e6 / 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.452s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.767s
2021-05-14 22:30:05 |

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

2021-05-14 22:30:05 | ------------------------------------

2021-05-14 22:30:05 | [Mutex] isItemNotified: node_djwxjt0203:exists :: false

2021-05-14 22:30:05 | [Mutex] waiting for: [node_djwxjt0203:create_node]

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

2021-05-14 22:30:05 | [Mutex] isItemNotified: node_djwxjt0203:create_node:success :: true

2021-05-14 22:30:05 | [Mutex] waiting for: [node_djwxjt0203:subscribe_node]

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

2021-05-14 22:30:05 | [Mutex] isItemNotified: node_djwxjt0203:subscribe_node:success :: true

2021-05-14 22:30:05 |


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


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

2021-05-14 22:30:05 | command: <data><node>node_djwxjt0203</node><entry><content>content_sjmr990204</content></entry></data>

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

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

2021-05-14 22:30:05 | entity: <data><node>node_djwxjt0203</node><entry><content>content_sjmr990204</content></entry></data>

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

2021-05-14 22:30:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9404774d-06ba-482a-9eb2-297b13c7e9b6</value></item-id></result>

2021-05-14 22:30:05 | contains: true

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

2021-05-14 22:30:05 | [Mutex] isItemNotified: user_regularlyzhlc0202@test-domain.com:message:received:content_sjmr990204 :: true

2021-05-14 22:30:05 |


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


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

2021-05-14 22:30:05 | command: <data><node>node_djwxjt0203</node><expire-at>2021-05-15T05:30:00Z</expire-at><entry><content>content_pfjoar0205</content></entry></data>

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

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

2021-05-14 22:30:05 | entity: <data><node>node_djwxjt0203</node><expire-at>2021-05-15T05:30:00Z</expire-at><entry><content>content_pfjoar0205</content></entry></data>

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

2021-05-14 22:30:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d0a5f07c-fc40-4352-bbc8-b08f4922b6e2</value></item-id></result>

2021-05-14 22:30:05 | contains: true

2021-05-14 22:30:05 | [Mutex] waiting for: [user_regularlyzhlc0202@test-domain.com:message:received:content_pfjoar0205]

2021-05-14 22:30:20 | [Mutex] timeout. Not received [user_regularlyzhlc0202@test-domain.com:message:received:content_pfjoar0205]

2021-05-14 22:30:20 | [Mutex] isItemNotified: user_regularlyzhlc0202@test-domain.com:message:received:content_pfjoar0205 :: false

2021-05-14 22:30:20 |


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


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

2021-05-14 22:30:20 | command: <data><node>node_djwxjt0203</node><entry><content>content_mkdpjo0206</content></entry></data>

2021-05-14 22:30:20 | target: http://localhost:8088

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

2021-05-14 22:30:20 | entity: <data><node>node_djwxjt0203</node><entry><content>content_mkdpjo0206</content></entry></data>

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

2021-05-14 22:30:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>feee67b0-4d23-4e32-9ab6-541d5f1e1591</value></item-id></result>

2021-05-14 22:30:20 | contains: true

2021-05-14 22:30:25 | [Mutex] waiting for: [user_regularlyzhlc0202@test-domain.com:message:received:content_mkdpjo0206]

2021-05-14 22:30:25 | [Mutex] waiting for: [user_regularlyzhlc0202@test-domain.com:message:received:content_mkdpjo0206]

2021-05-14 22:30:25 | [Mutex] received everything.

2021-05-14 22:30:25 | [Mutex] isItemNotified: user_regularlyzhlc0202@test-domain.com:message:received:content_mkdpjo0206 :: true

2021-05-14 22:30:25 |


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


2021-05-14 22:30:25 | [Mutex] received everything.

2021-05-14 22:30:25 | [Mutex] isItemNotified: node_djwxjt0203:subscribe_node:success :: true

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

2021-05-14 22:30:25 | command: <data><node>node_djwxjt0203</node><expire-at>2021-05-15T05:30:30Z</expire-at><entry><content>content_m6a80o0207</content></entry></data>

2021-05-14 22:30:25 | target: http://localhost:8088

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

2021-05-14 22:30:25 | entity: <data><node>node_djwxjt0203</node><expire-at>2021-05-15T05:30:30Z</expire-at><entry><content>content_m6a80o0207</content></entry></data>

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

2021-05-14 22:30:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c307b465-bee3-4b4e-9674-e6cf26caa7a8</value></item-id></result>

2021-05-14 22:30:25 | contains: true

2021-05-14 22:30:34 | [Mutex] waiting for: [user_regularlyzhlc0202@test-domain.com:message:received:content_m6a80o0207]

2021-05-14 22:30:34 | [Mutex] waiting for: [user_regularlyzhlc0202@test-domain.com:message:received:content_m6a80o0207]

2021-05-14 22:30:49 | [Mutex] timeout. Not received [user_regularlyzhlc0202@test-domain.com:message:received:content_m6a80o0207]

2021-05-14 22:30:49 | [Mutex] received everything.

2021-05-14 22:30:49 | [Mutex] isItemNotified: user_regularlyzhlc0202@test-domain.com:message:received:content_m6a80o0207 :: false

2021-05-14 22:30:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m6a80o0207 :: true