Generated by TestNG with ReportNG at 22:53 PDT on Tuesday 20 September 2022
root@f9c07ffec79b / 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.837s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.600s
2022-09-20 23:07:41 |

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

2022-09-20 23:07:41 | ------------------------------------

2022-09-20 23:07:41 | [Mutex] isItemNotified: node_o1pf50204:exists :: false

2022-09-20 23:07:41 | [Mutex] waiting for: [node_o1pf50204:create_node]

2022-09-20 23:07:41 | [Mutex] received everything.

2022-09-20 23:07:41 | [Mutex] isItemNotified: node_o1pf50204:create_node:success :: true

2022-09-20 23:07:41 | [Mutex] waiting for: [node_o1pf50204:subscribe_node]

2022-09-20 23:07:41 | [Mutex] waiting for: [node_o1pf50204:subscribe_node]

2022-09-20 23:07:41 | [Mutex] received everything.

2022-09-20 23:07:41 | [Mutex] isItemNotified: node_o1pf50204:subscribe_node:success :: true

2022-09-20 23:07:41 |


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


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

2022-09-20 23:07:41 | command: <data><node>node_o1pf50204</node><entry><content>content_w273bl0205</content></entry></data>

2022-09-20 23:07:41 | target: http://localhost:8088

2022-09-20 23:07:41 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-09-20 23:07:41 | entity: <data><node>node_o1pf50204</node><entry><content>content_w273bl0205</content></entry></data>

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

2022-09-20 23:07:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a5986048-bc38-4399-91f3-71cde26fffc6</value></item-id></result>

2022-09-20 23:07:41 | contains: true

2022-09-20 23:07:41 | [Mutex] waiting for: [user_regular6z84qt0203@test-domain.com:message:received:content_w273bl0205]

2022-09-20 23:07:41 | [Mutex] received everything.

2022-09-20 23:07:41 | [Mutex] isItemNotified: user_regular6z84qt0203@test-domain.com:message:received:content_w273bl0205 :: true

2022-09-20 23:07:41 |


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


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

2022-09-20 23:07:41 | command: <data><node>node_o1pf50204</node><expire-at>2022-09-21T06:07:36Z</expire-at><entry><content>content_55b72l0206</content></entry></data>

2022-09-20 23:07:41 | target: http://localhost:8088

2022-09-20 23:07:41 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-09-20 23:07:41 | entity: <data><node>node_o1pf50204</node><expire-at>2022-09-21T06:07:36Z</expire-at><entry><content>content_55b72l0206</content></entry></data>

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

2022-09-20 23:07:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c7c927e-d2c6-4a86-94f8-d85ce68847f4</value></item-id></result>

2022-09-20 23:07:41 | contains: true

2022-09-20 23:07:41 | [Mutex] waiting for: [user_regular6z84qt0203@test-domain.com:message:received:content_55b72l0206]

2022-09-20 23:07:56 | [Mutex] timeout. Not received [user_regular6z84qt0203@test-domain.com:message:received:content_55b72l0206]

2022-09-20 23:07:56 | [Mutex] isItemNotified: user_regular6z84qt0203@test-domain.com:message:received:content_55b72l0206 :: false

2022-09-20 23:07:56 |


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


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

2022-09-20 23:07:56 | command: <data><node>node_o1pf50204</node><entry><content>content_alodbz0207</content></entry></data>

2022-09-20 23:07:56 | target: http://localhost:8088

2022-09-20 23:07:56 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-09-20 23:07:56 | entity: <data><node>node_o1pf50204</node><entry><content>content_alodbz0207</content></entry></data>

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

2022-09-20 23:07:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c32bd79b-379d-4780-b769-316c579e42fd</value></item-id></result>

2022-09-20 23:07:56 | contains: true

2022-09-20 23:08:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-20 23:08:01 | [Mutex] waiting for: [user_regular6z84qt0203@test-domain.com:message:received:content_alodbz0207]

2022-09-20 23:08:01 | [Mutex] waiting for: [user_regular6z84qt0203@test-domain.com:message:received:content_alodbz0207]

2022-09-20 23:08:01 | [Mutex] received everything.

2022-09-20 23:08:01 | [Mutex] isItemNotified: user_regular6z84qt0203@test-domain.com:message:received:content_alodbz0207 :: true

2022-09-20 23:08:01 |


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


2022-09-20 23:08:01 | [Mutex] received everything.

2022-09-20 23:08:01 | [Mutex] isItemNotified: node_o1pf50204:subscribe_node:success :: true

2022-09-20 23:08:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-20 23:08:01 | command: <data><node>node_o1pf50204</node><expire-at>2022-09-21T06:08:06Z</expire-at><entry><content>content_vss9d00208</content></entry></data>

2022-09-20 23:08:01 | target: http://localhost:8088

2022-09-20 23:08:01 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-09-20 23:08:01 | entity: <data><node>node_o1pf50204</node><expire-at>2022-09-21T06:08:06Z</expire-at><entry><content>content_vss9d00208</content></entry></data>

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

2022-09-20 23:08:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e8ac1b51-7aa8-4b24-9b36-3c3d90314714</value></item-id></result>

2022-09-20 23:08:01 | contains: true

2022-09-20 23:08:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-20 23:08:09 | [Mutex] waiting for: [user_regular6z84qt0203@test-domain.com:message:received:content_vss9d00208]

2022-09-20 23:08:09 | [Mutex] waiting for: [user_regular6z84qt0203@test-domain.com:message:received:content_vss9d00208]

2022-09-20 23:08:09 | [Mutex] waiting for: [user_regular6z84qt0203@test-domain.com:message:received:content_vss9d00208]

2022-09-20 23:08:24 | [Mutex] timeout. Not received [user_regular6z84qt0203@test-domain.com:message:received:content_vss9d00208]

2022-09-20 23:08:24 | [Mutex] received everything.

2022-09-20 23:08:24 | [Mutex] isItemNotified: user_regular6z84qt0203@test-domain.com:message:received:content_vss9d00208 :: false

2022-09-20 23:08:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vss9d00208 :: true