Generated by TestNG with ReportNG at 15:18 PST on Friday 24 February 2023
root@7c41cec37518 / 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.632s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.544s
2023-02-24 15:32:18 |

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

2023-02-24 15:32:18 | ------------------------------------

2023-02-24 15:32:18 | [Mutex] isItemNotified: node_ytktqz0204:exists :: false

2023-02-24 15:32:18 | [Mutex] waiting for: [node_ytktqz0204:create_node]

2023-02-24 15:32:18 | [Mutex] received everything.

2023-02-24 15:32:18 | [Mutex] isItemNotified: node_ytktqz0204:create_node:success :: true

2023-02-24 15:32:18 | [Mutex] waiting for: [node_ytktqz0204:subscribe_node]

2023-02-24 15:32:18 | [Mutex] waiting for: [node_ytktqz0204:subscribe_node]

2023-02-24 15:32:18 | [Mutex] received everything.

2023-02-24 15:32:18 | [Mutex] isItemNotified: node_ytktqz0204:subscribe_node:success :: true

2023-02-24 15:32:18 |


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


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

2023-02-24 15:32:18 | command: <data><node>node_ytktqz0204</node><entry><content>content_7i4qlq0205</content></entry></data>

2023-02-24 15:32:18 | target: http://localhost:8088

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

2023-02-24 15:32:18 | entity: <data><node>node_ytktqz0204</node><entry><content>content_7i4qlq0205</content></entry></data>

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

2023-02-24 15:32:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>facadec2-0e88-45b1-b07b-c1204c9e2c45</value></item-id></result>

2023-02-24 15:32:18 | contains: true

2023-02-24 15:32:18 | [Mutex] received everything.

2023-02-24 15:32:18 | [Mutex] isItemNotified: user_regularhe6zsg0203@test-domain.com:message:received:content_7i4qlq0205 :: true

2023-02-24 15:32:18 |


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


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

2023-02-24 15:32:18 | command: <data><node>node_ytktqz0204</node><expire-at>2023-02-24T23:32:13Z</expire-at><entry><content>content_5o80t0206</content></entry></data>

2023-02-24 15:32:18 | target: http://localhost:8088

2023-02-24 15:32:18 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-02-24 15:32:18 | entity: <data><node>node_ytktqz0204</node><expire-at>2023-02-24T23:32:13Z</expire-at><entry><content>content_5o80t0206</content></entry></data>

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

2023-02-24 15:32:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>191587ba-dfc7-4463-ba9d-17f75959075b</value></item-id></result>

2023-02-24 15:32:18 | contains: true

2023-02-24 15:32:18 | [Mutex] waiting for: [user_regularhe6zsg0203@test-domain.com:message:received:content_5o80t0206]

2023-02-24 15:32:33 | [Mutex] timeout. Not received [user_regularhe6zsg0203@test-domain.com:message:received:content_5o80t0206]

2023-02-24 15:32:33 | [Mutex] isItemNotified: user_regularhe6zsg0203@test-domain.com:message:received:content_5o80t0206 :: false

2023-02-24 15:32:33 |


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


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

2023-02-24 15:32:33 | command: <data><node>node_ytktqz0204</node><entry><content>content_6xmm7m0207</content></entry></data>

2023-02-24 15:32:33 | target: http://localhost:8088

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

2023-02-24 15:32:33 | entity: <data><node>node_ytktqz0204</node><entry><content>content_6xmm7m0207</content></entry></data>

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

2023-02-24 15:32:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b9a22c4e-7d16-468e-ae5e-2dd8a8621190</value></item-id></result>

2023-02-24 15:32:33 | contains: true

2023-02-24 15:32:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-02-24 15:32:38 | [Mutex] waiting for: [user_regularhe6zsg0203@test-domain.com:message:received:content_6xmm7m0207]

2023-02-24 15:32:38 | [Mutex] waiting for: [user_regularhe6zsg0203@test-domain.com:message:received:content_6xmm7m0207]

2023-02-24 15:32:38 | [Mutex] received everything.

2023-02-24 15:32:38 | [Mutex] isItemNotified: user_regularhe6zsg0203@test-domain.com:message:received:content_6xmm7m0207 :: true

2023-02-24 15:32:38 |


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


2023-02-24 15:32:38 | [Mutex] received everything.

2023-02-24 15:32:38 | [Mutex] isItemNotified: node_ytktqz0204:subscribe_node:success :: true

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

2023-02-24 15:32:38 | command: <data><node>node_ytktqz0204</node><expire-at>2023-02-24T23:32:43Z</expire-at><entry><content>content_7ug4n0208</content></entry></data>

2023-02-24 15:32:38 | target: http://localhost:8088

2023-02-24 15:32:38 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-02-24 15:32:38 | entity: <data><node>node_ytktqz0204</node><expire-at>2023-02-24T23:32:43Z</expire-at><entry><content>content_7ug4n0208</content></entry></data>

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

2023-02-24 15:32:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>650a3233-917a-49c7-b8af-30baee67cb5b</value></item-id></result>

2023-02-24 15:32:38 | contains: true

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

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

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

2023-02-24 15:32:46 | [Mutex] waiting for: [user_regularhe6zsg0203@test-domain.com:message:received:content_7ug4n0208]

2023-02-24 15:33:01 | [Mutex] timeout. Not received [user_regularhe6zsg0203@test-domain.com:message:received:content_7ug4n0208]

2023-02-24 15:33:01 | [Mutex] received everything.

2023-02-24 15:33:01 | [Mutex] isItemNotified: user_regularhe6zsg0203@test-domain.com:message:received:content_7ug4n0208 :: false

2023-02-24 15:33:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7ug4n0208 :: true