Generated by TestNG with ReportNG at 04:11 PST on Thursday 24 November 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.798s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.618s
2022-11-24 04:27:40 |

2022-11-24 04:27:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-11-24 04:27:40 | ------------------------------------

2022-11-24 04:27:40 | [Mutex] isItemNotified: node_5f0v250204:exists :: false

2022-11-24 04:27:40 | [Mutex] waiting for: [node_5f0v250204:create_node]

2022-11-24 04:27:40 | [Mutex] received everything.

2022-11-24 04:27:40 | [Mutex] isItemNotified: node_5f0v250204:create_node:success :: true

2022-11-24 04:27:40 | [Mutex] waiting for: [node_5f0v250204:subscribe_node]

2022-11-24 04:27:40 | [Mutex] waiting for: [node_5f0v250204:subscribe_node]

2022-11-24 04:27:40 | [Mutex] received everything.

2022-11-24 04:27:40 | [Mutex] isItemNotified: node_5f0v250204:subscribe_node:success :: true

2022-11-24 04:27:40 |


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


2022-11-24 04:27:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 04:27:40 | command: <data><node>node_5f0v250204</node><entry><content>content_p1pd5l0205</content></entry></data>

2022-11-24 04:27:40 | target: http://localhost:8088

2022-11-24 04:27:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-24 04:27:40 | entity: <data><node>node_5f0v250204</node><entry><content>content_p1pd5l0205</content></entry></data>

2022-11-24 04:27:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 12:27:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 04:27:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e6c96a5f-b267-495a-aeb1-54ae05355a58</value></item-id></result>

2022-11-24 04:27:40 | contains: true

2022-11-24 04:27:40 | [Mutex] waiting for: [user_regularaew9bf0203@test-domain.com:message:received:content_p1pd5l0205]

2022-11-24 04:27:40 | [Mutex] received everything.

2022-11-24 04:27:40 | [Mutex] isItemNotified: user_regularaew9bf0203@test-domain.com:message:received:content_p1pd5l0205 :: true

2022-11-24 04:27:40 |


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


2022-11-24 04:27:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 04:27:40 | command: <data><node>node_5f0v250204</node><expire-at>2022-11-24T12:27:35Z</expire-at><entry><content>content_phanfa0206</content></entry></data>

2022-11-24 04:27:40 | target: http://localhost:8088

2022-11-24 04:27:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-24 04:27:40 | entity: <data><node>node_5f0v250204</node><expire-at>2022-11-24T12:27:35Z</expire-at><entry><content>content_phanfa0206</content></entry></data>

2022-11-24 04:27:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 12:27:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 04:27:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7b2910b4-1a58-414c-9fcb-f0c33cfcbb53</value></item-id></result>

2022-11-24 04:27:40 | contains: true

2022-11-24 04:27:40 | [Mutex] waiting for: [user_regularaew9bf0203@test-domain.com:message:received:content_phanfa0206]

2022-11-24 04:27:55 | [Mutex] timeout. Not received [user_regularaew9bf0203@test-domain.com:message:received:content_phanfa0206]

2022-11-24 04:27:55 | [Mutex] isItemNotified: user_regularaew9bf0203@test-domain.com:message:received:content_phanfa0206 :: false

2022-11-24 04:27:55 |


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


2022-11-24 04:27:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 04:27:55 | command: <data><node>node_5f0v250204</node><entry><content>content_jiyvau0207</content></entry></data>

2022-11-24 04:27:55 | target: http://localhost:8088

2022-11-24 04:27:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-24 04:27:55 | entity: <data><node>node_5f0v250204</node><entry><content>content_jiyvau0207</content></entry></data>

2022-11-24 04:27:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 12:27:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 04:27:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d236a697-46d6-4374-9fed-21a93e814ade</value></item-id></result>

2022-11-24 04:27:55 | contains: true

2022-11-24 04:28:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-24 04:28:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-11-24 04:28:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-24 04:28:00 | [Mutex] waiting for: [user_regularaew9bf0203@test-domain.com:message:received:content_jiyvau0207]

2022-11-24 04:28:00 | [Mutex] waiting for: [user_regularaew9bf0203@test-domain.com:message:received:content_jiyvau0207]

2022-11-24 04:28:00 | [Mutex] received everything.

2022-11-24 04:28:00 | [Mutex] isItemNotified: user_regularaew9bf0203@test-domain.com:message:received:content_jiyvau0207 :: true

2022-11-24 04:28:00 |


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


2022-11-24 04:28:00 | [Mutex] received everything.

2022-11-24 04:28:00 | [Mutex] isItemNotified: node_5f0v250204:subscribe_node:success :: true

2022-11-24 04:28:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 04:28:00 | command: <data><node>node_5f0v250204</node><expire-at>2022-11-24T12:28:05Z</expire-at><entry><content>content_48ozcs0208</content></entry></data>

2022-11-24 04:28:00 | target: http://localhost:8088

2022-11-24 04:28:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-24 04:28:00 | entity: <data><node>node_5f0v250204</node><expire-at>2022-11-24T12:28:05Z</expire-at><entry><content>content_48ozcs0208</content></entry></data>

2022-11-24 04:28:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 12:28:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 04:28:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6c35861d-9f4b-4f4c-857b-05143aaa3ce6</value></item-id></result>

2022-11-24 04:28:00 | contains: true

2022-11-24 04:28:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-11-24 04:28:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-24 04:28:09 | [Mutex] waiting for: [user_regularaew9bf0203@test-domain.com:message:received:content_48ozcs0208]

2022-11-24 04:28:24 | [Mutex] timeout. Not received [user_regularaew9bf0203@test-domain.com:message:received:content_48ozcs0208]

2022-11-24 04:28:24 | [Mutex] received everything.

2022-11-24 04:28:24 | [Mutex] isItemNotified: user_regularaew9bf0203@test-domain.com:message:received:content_48ozcs0208 :: false

2022-11-24 04:28:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_48ozcs0208 :: true