Generated by TestNG with ReportNG at 22:22 PDT on Wednesday 27 April 2022
root@61c39d2ed70d / 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.021s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.577s
2022-04-27 22:37:00 |

2022-04-27 22:37:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-04-27 22:37:00 | ------------------------------------

2022-04-27 22:37:00 | [Mutex] isItemNotified: node_c0qhf00204:exists :: false

2022-04-27 22:37:00 | [Mutex] waiting for: [node_c0qhf00204:create_node]

2022-04-27 22:37:00 | [Mutex] waiting for: [node_c0qhf00204:create_node]

2022-04-27 22:37:00 | [Mutex] received everything.

2022-04-27 22:37:00 | [Mutex] isItemNotified: node_c0qhf00204:create_node:success :: true

2022-04-27 22:37:00 | [Mutex] waiting for: [node_c0qhf00204:subscribe_node]

2022-04-27 22:37:00 | [Mutex] waiting for: [node_c0qhf00204:subscribe_node]

2022-04-27 22:37:00 | [Mutex] received everything.

2022-04-27 22:37:00 | [Mutex] isItemNotified: node_c0qhf00204:subscribe_node:success :: true

2022-04-27 22:37:00 |


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


2022-04-27 22:37:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 22:37:00 | command: <data><node>node_c0qhf00204</node><entry><content>content_yjy9vm0205</content></entry></data>

2022-04-27 22:37:00 | target: http://localhost:8088

2022-04-27 22:37:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-27 22:37:00 | entity: <data><node>node_c0qhf00204</node><entry><content>content_yjy9vm0205</content></entry></data>

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

2022-04-27 22:37:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>52ebecb1-e61d-4f36-8540-797a29bb9060</value></item-id></result>

2022-04-27 22:37:00 | contains: true

2022-04-27 22:37:00 | [Mutex] received everything.

2022-04-27 22:37:00 | [Mutex] isItemNotified: user_regular89sjgp0203@test-domain.com:message:received:content_yjy9vm0205 :: true

2022-04-27 22:37:00 |


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


2022-04-27 22:37:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 22:37:00 | command: <data><node>node_c0qhf00204</node><expire-at>2022-04-28T05:36:55Z</expire-at><entry><content>content_mt263e0206</content></entry></data>

2022-04-27 22:37:00 | target: http://localhost:8088

2022-04-27 22:37:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-27 22:37:00 | entity: <data><node>node_c0qhf00204</node><expire-at>2022-04-28T05:36:55Z</expire-at><entry><content>content_mt263e0206</content></entry></data>

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

2022-04-27 22:37:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>95126af2-ee33-4920-8057-2db71dd4da0c</value></item-id></result>

2022-04-27 22:37:00 | contains: true

2022-04-27 22:37:00 | [Mutex] waiting for: [user_regular89sjgp0203@test-domain.com:message:received:content_mt263e0206]

2022-04-27 22:37:15 | [Mutex] timeout. Not received [user_regular89sjgp0203@test-domain.com:message:received:content_mt263e0206]

2022-04-27 22:37:15 | [Mutex] isItemNotified: user_regular89sjgp0203@test-domain.com:message:received:content_mt263e0206 :: false

2022-04-27 22:37:15 |


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


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

2022-04-27 22:37:15 | command: <data><node>node_c0qhf00204</node><entry><content>content_8a3k030207</content></entry></data>

2022-04-27 22:37:15 | target: http://localhost:8088

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

2022-04-27 22:37:15 | entity: <data><node>node_c0qhf00204</node><entry><content>content_8a3k030207</content></entry></data>

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

2022-04-27 22:37:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fddd8df5-4e74-40a0-ab85-56a509fb461c</value></item-id></result>

2022-04-27 22:37:16 | contains: true

2022-04-27 22:37:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-04-27 22:37:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-27 22:37:21 | [Mutex] waiting for: [user_regular89sjgp0203@test-domain.com:message:received:content_8a3k030207]

2022-04-27 22:37:21 | [Mutex] waiting for: [user_regular89sjgp0203@test-domain.com:message:received:content_8a3k030207]

2022-04-27 22:37:21 | [Mutex] received everything.

2022-04-27 22:37:21 | [Mutex] isItemNotified: user_regular89sjgp0203@test-domain.com:message:received:content_8a3k030207 :: true

2022-04-27 22:37:21 |


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


2022-04-27 22:37:21 | [Mutex] received everything.

2022-04-27 22:37:21 | [Mutex] isItemNotified: node_c0qhf00204:subscribe_node:success :: true

2022-04-27 22:37:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 22:37:21 | command: <data><node>node_c0qhf00204</node><expire-at>2022-04-28T05:37:26Z</expire-at><entry><content>content_pxvsn90208</content></entry></data>

2022-04-27 22:37:21 | target: http://localhost:8088

2022-04-27 22:37:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-27 22:37:21 | entity: <data><node>node_c0qhf00204</node><expire-at>2022-04-28T05:37:26Z</expire-at><entry><content>content_pxvsn90208</content></entry></data>

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

2022-04-27 22:37:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a657ffcf-5d20-444e-8df0-74488ecee7ea</value></item-id></result>

2022-04-27 22:37:21 | contains: true

2022-04-27 22:37:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-04-27 22:37:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-27 22:37:29 | [Mutex] waiting for: [user_regular89sjgp0203@test-domain.com:message:received:content_pxvsn90208]

2022-04-27 22:37:44 | [Mutex] timeout. Not received [user_regular89sjgp0203@test-domain.com:message:received:content_pxvsn90208]

2022-04-27 22:37:44 | [Mutex] received everything.

2022-04-27 22:37:44 | [Mutex] isItemNotified: user_regular89sjgp0203@test-domain.com:message:received:content_pxvsn90208 :: false

2022-04-27 22:37:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pxvsn90208 :: true