Generated by TestNG with ReportNG at 22:21 PDT on Wednesday 13 April 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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.097s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.535s
2022-04-13 22:35:15 |

2022-04-13 22:35:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-04-13 22:35:15 | ------------------------------------

2022-04-13 22:35:15 | [Mutex] isItemNotified: node_xqytja0203:exists :: false

2022-04-13 22:35:15 | [Mutex] waiting for: [node_xqytja0203:create_node]

2022-04-13 22:35:15 | [Mutex] received everything.

2022-04-13 22:35:15 | [Mutex] isItemNotified: node_xqytja0203:create_node:success :: true

2022-04-13 22:35:15 | [Mutex] waiting for: [node_xqytja0203:subscribe_node]

2022-04-13 22:35:15 | [Mutex] received everything.

2022-04-13 22:35:15 | [Mutex] isItemNotified: node_xqytja0203:subscribe_node:success :: true

2022-04-13 22:35:15 |


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


2022-04-13 22:35:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 22:35:15 | command: <data><node>node_xqytja0203</node><entry><content>content_tzh6op0204</content></entry></data>

2022-04-13 22:35:15 | target: http://localhost:8088

2022-04-13 22:35:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-13 22:35:15 | entity: <data><node>node_xqytja0203</node><entry><content>content_tzh6op0204</content></entry></data>

2022-04-13 22:35:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 05:35:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 22:35:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7f20f3d3-b66d-4c03-a3a0-e2ddb5df047f</value></item-id></result>

2022-04-13 22:35:15 | contains: true

2022-04-13 22:35:15 | [Mutex] received everything.

2022-04-13 22:35:15 | [Mutex] isItemNotified: user_regularwh9gph0202@test-domain.com:message:received:content_tzh6op0204 :: true

2022-04-13 22:35:15 |


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


2022-04-13 22:35:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 22:35:15 | command: <data><node>node_xqytja0203</node><expire-at>2022-04-14T05:35:10Z</expire-at><entry><content>content_412qh10205</content></entry></data>

2022-04-13 22:35:15 | target: http://localhost:8088

2022-04-13 22:35:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-13 22:35:15 | entity: <data><node>node_xqytja0203</node><expire-at>2022-04-14T05:35:10Z</expire-at><entry><content>content_412qh10205</content></entry></data>

2022-04-13 22:35:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 05:35:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 22:35:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a6c489bb-69f8-44dc-8891-d1c8f7d56d08</value></item-id></result>

2022-04-13 22:35:15 | contains: true

2022-04-13 22:35:15 | [Mutex] waiting for: [user_regularwh9gph0202@test-domain.com:message:received:content_412qh10205]

2022-04-13 22:35:30 | [Mutex] timeout. Not received [user_regularwh9gph0202@test-domain.com:message:received:content_412qh10205]

2022-04-13 22:35:30 | [Mutex] isItemNotified: user_regularwh9gph0202@test-domain.com:message:received:content_412qh10205 :: false

2022-04-13 22:35:30 |


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


2022-04-13 22:35:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 22:35:30 | command: <data><node>node_xqytja0203</node><entry><content>content_ouef60206</content></entry></data>

2022-04-13 22:35:30 | target: http://localhost:8088

2022-04-13 22:35:30 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-04-13 22:35:30 | entity: <data><node>node_xqytja0203</node><entry><content>content_ouef60206</content></entry></data>

2022-04-13 22:35:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 05:35:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 22:35:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>21332cf9-213d-4566-9ba4-899442149601</value></item-id></result>

2022-04-13 22:35:30 | contains: true

2022-04-13 22:35:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-13 22:35:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222

2022-04-13 22:35:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-13 22:35:35 | [Mutex] waiting for: [user_regularwh9gph0202@test-domain.com:message:received:content_ouef60206]

2022-04-13 22:35:35 | [Mutex] waiting for: [user_regularwh9gph0202@test-domain.com:message:received:content_ouef60206]

2022-04-13 22:35:35 | [Mutex] received everything.

2022-04-13 22:35:35 | [Mutex] isItemNotified: user_regularwh9gph0202@test-domain.com:message:received:content_ouef60206 :: true

2022-04-13 22:35:35 |


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


2022-04-13 22:35:35 | [Mutex] received everything.

2022-04-13 22:35:35 | [Mutex] isItemNotified: node_xqytja0203:subscribe_node:success :: true

2022-04-13 22:35:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 22:35:35 | command: <data><node>node_xqytja0203</node><expire-at>2022-04-14T05:35:40Z</expire-at><entry><content>content_munilf0207</content></entry></data>

2022-04-13 22:35:35 | target: http://localhost:8088

2022-04-13 22:35:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-13 22:35:35 | entity: <data><node>node_xqytja0203</node><expire-at>2022-04-14T05:35:40Z</expire-at><entry><content>content_munilf0207</content></entry></data>

2022-04-13 22:35:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 05:35:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 22:35:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27ebd997-28f3-4402-acd9-e946598163af</value></item-id></result>

2022-04-13 22:35:35 | contains: true

2022-04-13 22:35:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-13 22:35:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] DNS entry stored in session object: localhost:5222

2022-04-13 22:35:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-13 22:35:43 | [Mutex] waiting for: [user_regularwh9gph0202@test-domain.com:message:received:content_munilf0207]

2022-04-13 22:35:43 | [Mutex] waiting for: [user_regularwh9gph0202@test-domain.com:message:received:content_munilf0207]

2022-04-13 22:35:58 | [Mutex] timeout. Not received [user_regularwh9gph0202@test-domain.com:message:received:content_munilf0207]

2022-04-13 22:35:58 | [Mutex] received everything.

2022-04-13 22:35:58 | [Mutex] isItemNotified: user_regularwh9gph0202@test-domain.com:message:received:content_munilf0207 :: false

2022-04-13 22:35:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_munilf0207 :: true