Generated by TestNG with ReportNG at 22:46 PDT on Wednesday 20 July 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.790s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.577s
2022-07-20 23:02:16 |

2022-07-20 23:02:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-20 23:02:16 | ------------------------------------

2022-07-20 23:02:16 | [Mutex] isItemNotified: node_71x9k70204:exists :: false

2022-07-20 23:02:16 | [Mutex] waiting for: [node_71x9k70204:create_node]

2022-07-20 23:02:16 | [Mutex] received everything.

2022-07-20 23:02:16 | [Mutex] isItemNotified: node_71x9k70204:create_node:success :: true

2022-07-20 23:02:16 | [Mutex] waiting for: [node_71x9k70204:subscribe_node]

2022-07-20 23:02:16 | [Mutex] waiting for: [node_71x9k70204:subscribe_node]

2022-07-20 23:02:16 | [Mutex] received everything.

2022-07-20 23:02:16 | [Mutex] isItemNotified: node_71x9k70204:subscribe_node:success :: true

2022-07-20 23:02:16 |


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


2022-07-20 23:02:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-20 23:02:16 | command: <data><node>node_71x9k70204</node><entry><content>content_cqjp980205</content></entry></data>

2022-07-20 23:02:16 | target: http://localhost:8088

2022-07-20 23:02:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-20 23:02:16 | entity: <data><node>node_71x9k70204</node><entry><content>content_cqjp980205</content></entry></data>

2022-07-20 23:02:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Jul 2022 06:02:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-20 23:02:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6045b718-f951-4dc6-bcb8-456ebc5d3f6f</value></item-id></result>

2022-07-20 23:02:16 | contains: true

2022-07-20 23:02:16 | [Mutex] received everything.

2022-07-20 23:02:16 | [Mutex] isItemNotified: user_regularqgp47j0203@test-domain.com:message:received:content_cqjp980205 :: true

2022-07-20 23:02:16 |


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


2022-07-20 23:02:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-20 23:02:16 | command: <data><node>node_71x9k70204</node><expire-at>2022-07-21T06:02:11Z</expire-at><entry><content>content_kz8hoc0206</content></entry></data>

2022-07-20 23:02:16 | target: http://localhost:8088

2022-07-20 23:02:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-20 23:02:16 | entity: <data><node>node_71x9k70204</node><expire-at>2022-07-21T06:02:11Z</expire-at><entry><content>content_kz8hoc0206</content></entry></data>

2022-07-20 23:02:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Jul 2022 06:02:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-20 23:02:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>823f60f4-afbb-4774-bae9-bb314611194f</value></item-id></result>

2022-07-20 23:02:16 | contains: true

2022-07-20 23:02:16 | [Mutex] waiting for: [user_regularqgp47j0203@test-domain.com:message:received:content_kz8hoc0206]

2022-07-20 23:02:31 | [Mutex] timeout. Not received [user_regularqgp47j0203@test-domain.com:message:received:content_kz8hoc0206]

2022-07-20 23:02:31 | [Mutex] isItemNotified: user_regularqgp47j0203@test-domain.com:message:received:content_kz8hoc0206 :: false

2022-07-20 23:02:31 |


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


2022-07-20 23:02:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-20 23:02:31 | command: <data><node>node_71x9k70204</node><entry><content>content_xubni10207</content></entry></data>

2022-07-20 23:02:31 | target: http://localhost:8088

2022-07-20 23:02:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-20 23:02:31 | entity: <data><node>node_71x9k70204</node><entry><content>content_xubni10207</content></entry></data>

2022-07-20 23:02:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Jul 2022 06:02:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-20 23:02:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>693d1b9b-c626-4f09-a1c0-d39c843042cc</value></item-id></result>

2022-07-20 23:02:31 | contains: true

2022-07-20 23:02:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-20 23:02:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-20 23:02:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-20 23:02:36 | [Mutex] waiting for: [user_regularqgp47j0203@test-domain.com:message:received:content_xubni10207]

2022-07-20 23:02:36 | [Mutex] waiting for: [user_regularqgp47j0203@test-domain.com:message:received:content_xubni10207]

2022-07-20 23:02:36 | [Mutex] received everything.

2022-07-20 23:02:36 | [Mutex] isItemNotified: user_regularqgp47j0203@test-domain.com:message:received:content_xubni10207 :: true

2022-07-20 23:02:36 |


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


2022-07-20 23:02:36 | [Mutex] received everything.

2022-07-20 23:02:36 | [Mutex] isItemNotified: node_71x9k70204:subscribe_node:success :: true

2022-07-20 23:02:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-20 23:02:36 | command: <data><node>node_71x9k70204</node><expire-at>2022-07-21T06:02:41Z</expire-at><entry><content>content_gf0jez0208</content></entry></data>

2022-07-20 23:02:36 | target: http://localhost:8088

2022-07-20 23:02:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-20 23:02:36 | entity: <data><node>node_71x9k70204</node><expire-at>2022-07-21T06:02:41Z</expire-at><entry><content>content_gf0jez0208</content></entry></data>

2022-07-20 23:02:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Jul 2022 06:02:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-20 23:02:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7ac21321-1594-4581-abe2-55bc9148376b</value></item-id></result>

2022-07-20 23:02:36 | contains: true

2022-07-20 23:02:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-20 23:02:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-20 23:02:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-20 23:02:44 | [Mutex] waiting for: [user_regularqgp47j0203@test-domain.com:message:received:content_gf0jez0208]

2022-07-20 23:02:44 | [Mutex] waiting for: [user_regularqgp47j0203@test-domain.com:message:received:content_gf0jez0208]

2022-07-20 23:02:44 | [Mutex] waiting for: [user_regularqgp47j0203@test-domain.com:message:received:content_gf0jez0208]

2022-07-20 23:02:59 | [Mutex] timeout. Not received [user_regularqgp47j0203@test-domain.com:message:received:content_gf0jez0208]

2022-07-20 23:02:59 | [Mutex] received everything.

2022-07-20 23:02:59 | [Mutex] isItemNotified: user_regularqgp47j0203@test-domain.com:message:received:content_gf0jez0208 :: false

2022-07-20 23:02:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gf0jez0208 :: true