Generated by TestNG with ReportNG at 23:40 PDT on Sunday 20 September 2020
root@1a41183091ef / 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.410s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.752s
2020-09-20 23:58:21 |

2020-09-20 23:58:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-20 23:58:21 | ------------------------------------

2020-09-20 23:58:21 | [Mutex] isItemNotified: node_9b3ogr0203:exists :: false

2020-09-20 23:58:21 | [Mutex] waiting for: [node_9b3ogr0203:create_node]

2020-09-20 23:58:21 | [Mutex] received everything.

2020-09-20 23:58:21 | [Mutex] isItemNotified: node_9b3ogr0203:create_node:success :: true

2020-09-20 23:58:21 | [Mutex] waiting for: [node_9b3ogr0203:subscribe_node]

2020-09-20 23:58:21 | [Mutex] received everything.

2020-09-20 23:58:21 | [Mutex] isItemNotified: node_9b3ogr0203:subscribe_node:success :: true

2020-09-20 23:58:21 |


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


2020-09-20 23:58:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 23:58:21 | command: <data><node>node_9b3ogr0203</node><entry><content>content_v5pbuf0204</content></entry></data>

2020-09-20 23:58:21 | target: http://localhost:8088

2020-09-20 23:58:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-20 23:58:21 | entity: <data><node>node_9b3ogr0203</node><entry><content>content_v5pbuf0204</content></entry></data>

2020-09-20 23:58:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 06:58:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 23:58:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d413a5ec-228b-4580-92ea-36d87c2e1731</value></item-id></result>

2020-09-20 23:58:21 | contains: true

2020-09-20 23:58:21 | [Mutex] waiting for: [user_regular70anyr0202@test-domain.com:message:received:content_v5pbuf0204]

2020-09-20 23:58:21 | [Mutex] received everything.

2020-09-20 23:58:21 | [Mutex] isItemNotified: user_regular70anyr0202@test-domain.com:message:received:content_v5pbuf0204 :: true

2020-09-20 23:58:21 |


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


2020-09-20 23:58:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 23:58:21 | command: <data><node>node_9b3ogr0203</node><expire-at>2020-09-21T06:58:16Z</expire-at><entry><content>content_4sq73x0205</content></entry></data>

2020-09-20 23:58:21 | target: http://localhost:8088

2020-09-20 23:58:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-20 23:58:21 | entity: <data><node>node_9b3ogr0203</node><expire-at>2020-09-21T06:58:16Z</expire-at><entry><content>content_4sq73x0205</content></entry></data>

2020-09-20 23:58:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 06:58:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 23:58:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1a4a11f6-4934-4853-8783-419f0fb95ea6</value></item-id></result>

2020-09-20 23:58:21 | contains: true

2020-09-20 23:58:21 | [Mutex] waiting for: [user_regular70anyr0202@test-domain.com:message:received:content_4sq73x0205]

2020-09-20 23:58:36 | [Mutex] timeout. Not received [user_regular70anyr0202@test-domain.com:message:received:content_4sq73x0205]

2020-09-20 23:58:36 | [Mutex] isItemNotified: user_regular70anyr0202@test-domain.com:message:received:content_4sq73x0205 :: false

2020-09-20 23:58:36 |


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


2020-09-20 23:58:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 23:58:36 | command: <data><node>node_9b3ogr0203</node><entry><content>content_gdtsoq0206</content></entry></data>

2020-09-20 23:58:36 | target: http://localhost:8088

2020-09-20 23:58:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-20 23:58:36 | entity: <data><node>node_9b3ogr0203</node><entry><content>content_gdtsoq0206</content></entry></data>

2020-09-20 23:58:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 06:58:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 23:58:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>08a89219-5813-4b27-8797-bc6662219fdb</value></item-id></result>

2020-09-20 23:58:37 | contains: true

2020-09-20 23:58:42 | [Mutex] waiting for: [user_regular70anyr0202@test-domain.com:message:received:content_gdtsoq0206]

2020-09-20 23:58:42 | [Mutex] received everything.

2020-09-20 23:58:42 | [Mutex] isItemNotified: user_regular70anyr0202@test-domain.com:message:received:content_gdtsoq0206 :: true

2020-09-20 23:58:42 |


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


2020-09-20 23:58:42 | [Mutex] received everything.

2020-09-20 23:58:42 | [Mutex] isItemNotified: node_9b3ogr0203:subscribe_node:success :: true

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

2020-09-20 23:58:42 | command: <data><node>node_9b3ogr0203</node><expire-at>2020-09-21T06:58:47Z</expire-at><entry><content>content_57i1ln0207</content></entry></data>

2020-09-20 23:58:42 | target: http://localhost:8088

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

2020-09-20 23:58:42 | entity: <data><node>node_9b3ogr0203</node><expire-at>2020-09-21T06:58:47Z</expire-at><entry><content>content_57i1ln0207</content></entry></data>

2020-09-20 23:58:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 06:58:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 23:58:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a0ed664e-47ea-4569-a060-969eb240c81b</value></item-id></result>

2020-09-20 23:58:42 | contains: true

2020-09-20 23:58:50 | [Mutex] waiting for: [user_regular70anyr0202@test-domain.com:message:received:content_57i1ln0207]

2020-09-20 23:58:50 | [Mutex] waiting for: [user_regular70anyr0202@test-domain.com:message:received:content_57i1ln0207]

2020-09-20 23:59:05 | [Mutex] timeout. Not received [user_regular70anyr0202@test-domain.com:message:received:content_57i1ln0207]

2020-09-20 23:59:05 | [Mutex] received everything.

2020-09-20 23:59:05 | [Mutex] isItemNotified: user_regular70anyr0202@test-domain.com:message:received:content_57i1ln0207 :: false

2020-09-20 23:59:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_57i1ln0207 :: true