Generated by TestNG with ReportNG at 15:32 PST on Friday 24 February 2023
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.905s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.671s
2023-02-24 15:46:35 |

2023-02-24 15:46:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-24 15:46:35 | ------------------------------------

2023-02-24 15:46:35 | [Mutex] isItemNotified: node_tr9t260204:exists :: false

2023-02-24 15:46:35 | [Mutex] waiting for: [node_tr9t260204:create_node]

2023-02-24 15:46:35 | [Mutex] received everything.

2023-02-24 15:46:35 | [Mutex] isItemNotified: node_tr9t260204:create_node:success :: true

2023-02-24 15:46:35 | [Mutex] waiting for: [node_tr9t260204:subscribe_node]

2023-02-24 15:46:35 | [Mutex] received everything.

2023-02-24 15:46:35 | [Mutex] isItemNotified: node_tr9t260204:subscribe_node:success :: true

2023-02-24 15:46:35 |


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


2023-02-24 15:46:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 15:46:35 | command: <data><node>node_tr9t260204</node><entry><content>content_yngkbc0205</content></entry></data>

2023-02-24 15:46:35 | target: http://localhost:8088

2023-02-24 15:46:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-24 15:46:35 | entity: <data><node>node_tr9t260204</node><entry><content>content_yngkbc0205</content></entry></data>

2023-02-24 15:46:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Feb 2023 23:46:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 15:46:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>74ad255c-d65a-4bdd-a74e-f1a3e8cbe288</value></item-id></result>

2023-02-24 15:46:35 | contains: true

2023-02-24 15:46:35 | [Mutex] waiting for: [user_regularjfelar0203@test-domain.com:message:received:content_yngkbc0205]

2023-02-24 15:46:35 | [Mutex] received everything.

2023-02-24 15:46:35 | [Mutex] isItemNotified: user_regularjfelar0203@test-domain.com:message:received:content_yngkbc0205 :: true

2023-02-24 15:46:35 |


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


2023-02-24 15:46:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 15:46:35 | command: <data><node>node_tr9t260204</node><expire-at>2023-02-24T23:46:30Z</expire-at><entry><content>content_6pbqlh0206</content></entry></data>

2023-02-24 15:46:35 | target: http://localhost:8088

2023-02-24 15:46:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-24 15:46:35 | entity: <data><node>node_tr9t260204</node><expire-at>2023-02-24T23:46:30Z</expire-at><entry><content>content_6pbqlh0206</content></entry></data>

2023-02-24 15:46:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Feb 2023 23:46:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 15:46:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>035898f6-87d5-4874-836b-87a4886348fb</value></item-id></result>

2023-02-24 15:46:35 | contains: true

2023-02-24 15:46:35 | [Mutex] waiting for: [user_regularjfelar0203@test-domain.com:message:received:content_6pbqlh0206]

2023-02-24 15:46:50 | [Mutex] timeout. Not received [user_regularjfelar0203@test-domain.com:message:received:content_6pbqlh0206]

2023-02-24 15:46:50 | [Mutex] isItemNotified: user_regularjfelar0203@test-domain.com:message:received:content_6pbqlh0206 :: false

2023-02-24 15:46:50 |


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


2023-02-24 15:46:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 15:46:50 | command: <data><node>node_tr9t260204</node><entry><content>content_tjo7bj0207</content></entry></data>

2023-02-24 15:46:50 | target: http://localhost:8088

2023-02-24 15:46:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-24 15:46:50 | entity: <data><node>node_tr9t260204</node><entry><content>content_tjo7bj0207</content></entry></data>

2023-02-24 15:46:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Feb 2023 23:46:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 15:46:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>275f240e-a9b2-44d1-aec9-3ec53373bde7</value></item-id></result>

2023-02-24 15:46:50 | contains: true

2023-02-24 15:46:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-24 15:46:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-02-24 15:46:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-24 15:46:55 | [Mutex] waiting for: [user_regularjfelar0203@test-domain.com:message:received:content_tjo7bj0207]

2023-02-24 15:46:55 | [Mutex] received everything.

2023-02-24 15:46:55 | [Mutex] isItemNotified: user_regularjfelar0203@test-domain.com:message:received:content_tjo7bj0207 :: true

2023-02-24 15:46:55 |


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


2023-02-24 15:46:55 | [Mutex] received everything.

2023-02-24 15:46:55 | [Mutex] isItemNotified: node_tr9t260204:subscribe_node:success :: true

2023-02-24 15:46:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 15:46:55 | command: <data><node>node_tr9t260204</node><expire-at>2023-02-24T23:47:00Z</expire-at><entry><content>content_4hu2cp0208</content></entry></data>

2023-02-24 15:46:55 | target: http://localhost:8088

2023-02-24 15:46:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-24 15:46:55 | entity: <data><node>node_tr9t260204</node><expire-at>2023-02-24T23:47:00Z</expire-at><entry><content>content_4hu2cp0208</content></entry></data>

2023-02-24 15:46:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Feb 2023 23:46:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 15:46:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c4082bb5-3842-4923-b8b6-c421978a2c45</value></item-id></result>

2023-02-24 15:46:55 | contains: true

2023-02-24 15:47:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-24 15:47:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-24 15:47:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-24 15:47:04 | [Mutex] waiting for: [user_regularjfelar0203@test-domain.com:message:received:content_4hu2cp0208]

2023-02-24 15:47:04 | [Mutex] waiting for: [user_regularjfelar0203@test-domain.com:message:received:content_4hu2cp0208]

2023-02-24 15:47:19 | [Mutex] timeout. Not received [user_regularjfelar0203@test-domain.com:message:received:content_4hu2cp0208]

2023-02-24 15:47:19 | [Mutex] received everything.

2023-02-24 15:47:19 | [Mutex] isItemNotified: user_regularjfelar0203@test-domain.com:message:received:content_4hu2cp0208 :: false

2023-02-24 15:47:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4hu2cp0208 :: true