Generated by TestNG with ReportNG at 22:46 PDT on Monday 20 June 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 : 44.894s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.661s
2022-06-20 23:00:35 |

2022-06-20 23:00:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-20 23:00:35 | ------------------------------------

2022-06-20 23:00:35 | [Mutex] isItemNotified: node_3xqw3u0204:exists :: false

2022-06-20 23:00:35 | [Mutex] waiting for: [node_3xqw3u0204:create_node]

2022-06-20 23:00:35 | [Mutex] received everything.

2022-06-20 23:00:35 | [Mutex] isItemNotified: node_3xqw3u0204:create_node:success :: true

2022-06-20 23:00:35 | [Mutex] waiting for: [node_3xqw3u0204:subscribe_node]

2022-06-20 23:00:35 | [Mutex] received everything.

2022-06-20 23:00:35 | [Mutex] isItemNotified: node_3xqw3u0204:subscribe_node:success :: true

2022-06-20 23:00:35 |


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


2022-06-20 23:00:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-20 23:00:35 | command: <data><node>node_3xqw3u0204</node><entry><content>content_vjkeu20205</content></entry></data>

2022-06-20 23:00:35 | target: http://localhost:8088

2022-06-20 23:00:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-20 23:00:35 | entity: <data><node>node_3xqw3u0204</node><entry><content>content_vjkeu20205</content></entry></data>

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

2022-06-20 23:00:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>84bb5e90-6a1d-4956-9ee3-fc400bdb671f</value></item-id></result>

2022-06-20 23:00:36 | contains: true

2022-06-20 23:00:36 | [Mutex] received everything.

2022-06-20 23:00:36 | [Mutex] isItemNotified: user_regulare4gwww0203@test-domain.com:message:received:content_vjkeu20205 :: true

2022-06-20 23:00:36 |


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


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

2022-06-20 23:00:36 | command: <data><node>node_3xqw3u0204</node><expire-at>2022-06-21T06:00:31Z</expire-at><entry><content>content_c4j9y60206</content></entry></data>

2022-06-20 23:00:36 | target: http://localhost:8088

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

2022-06-20 23:00:36 | entity: <data><node>node_3xqw3u0204</node><expire-at>2022-06-21T06:00:31Z</expire-at><entry><content>content_c4j9y60206</content></entry></data>

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

2022-06-20 23:00:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2db4e59a-ed49-4c56-bd70-75687e380533</value></item-id></result>

2022-06-20 23:00:36 | contains: true

2022-06-20 23:00:36 | [Mutex] waiting for: [user_regulare4gwww0203@test-domain.com:message:received:content_c4j9y60206]

2022-06-20 23:00:51 | [Mutex] timeout. Not received [user_regulare4gwww0203@test-domain.com:message:received:content_c4j9y60206]

2022-06-20 23:00:51 | [Mutex] isItemNotified: user_regulare4gwww0203@test-domain.com:message:received:content_c4j9y60206 :: false

2022-06-20 23:00:51 |


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


2022-06-20 23:00:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-20 23:00:51 | command: <data><node>node_3xqw3u0204</node><entry><content>content_mfecla0207</content></entry></data>

2022-06-20 23:00:51 | target: http://localhost:8088

2022-06-20 23:00:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-20 23:00:51 | entity: <data><node>node_3xqw3u0204</node><entry><content>content_mfecla0207</content></entry></data>

2022-06-20 23:00:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Jun 2022 06:00:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-20 23:00:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2bd31d23-9f34-4375-b604-313e9da74a5d</value></item-id></result>

2022-06-20 23:00:51 | contains: true

2022-06-20 23:00:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-20 23:00:56 | [Mutex] waiting for: [user_regulare4gwww0203@test-domain.com:message:received:content_mfecla0207]

2022-06-20 23:00:56 | [Mutex] waiting for: [user_regulare4gwww0203@test-domain.com:message:received:content_mfecla0207]

2022-06-20 23:00:56 | [Mutex] received everything.

2022-06-20 23:00:56 | [Mutex] isItemNotified: user_regulare4gwww0203@test-domain.com:message:received:content_mfecla0207 :: true

2022-06-20 23:00:56 |


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


2022-06-20 23:00:56 | [Mutex] received everything.

2022-06-20 23:00:56 | [Mutex] isItemNotified: node_3xqw3u0204:subscribe_node:success :: true

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

2022-06-20 23:00:56 | command: <data><node>node_3xqw3u0204</node><expire-at>2022-06-21T06:01:01Z</expire-at><entry><content>content_8muuae0208</content></entry></data>

2022-06-20 23:00:56 | target: http://localhost:8088

2022-06-20 23:00:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-20 23:00:56 | entity: <data><node>node_3xqw3u0204</node><expire-at>2022-06-21T06:01:01Z</expire-at><entry><content>content_8muuae0208</content></entry></data>

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

2022-06-20 23:00:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>de75203f-0772-4038-99e3-62508b2e246e</value></item-id></result>

2022-06-20 23:00:56 | contains: true

2022-06-20 23:01:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-20 23:01:04 | [Mutex] waiting for: [user_regulare4gwww0203@test-domain.com:message:received:content_8muuae0208]

2022-06-20 23:01:19 | [Mutex] timeout. Not received [user_regulare4gwww0203@test-domain.com:message:received:content_8muuae0208]

2022-06-20 23:01:19 | [Mutex] received everything.

2022-06-20 23:01:19 | [Mutex] isItemNotified: user_regulare4gwww0203@test-domain.com:message:received:content_8muuae0208 :: false

2022-06-20 23:01:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8muuae0208 :: true