Generated by TestNG with ReportNG at 22:45 PDT on Sunday 04 June 2023
root@8f5c98824654 / Java 17.0.6 (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.821s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.636s
2023-06-04 23:00:30 |

2023-06-04 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-06-04 23:00:30 | ------------------------------------

2023-06-04 23:00:30 | [Mutex] isItemNotified: node_pj0xyc0208:exists :: false

2023-06-04 23:00:30 | [Mutex] waiting for: [node_pj0xyc0208:create_node]

2023-06-04 23:00:30 | [Mutex] waiting for: [node_pj0xyc0208:create_node]

2023-06-04 23:00:30 | [Mutex] received everything.

2023-06-04 23:00:30 | [Mutex] isItemNotified: node_pj0xyc0208:create_node:success :: true

2023-06-04 23:00:30 | [Mutex] waiting for: [node_pj0xyc0208:subscribe_node]

2023-06-04 23:00:30 | [Mutex] waiting for: [node_pj0xyc0208:subscribe_node]

2023-06-04 23:00:30 | [Mutex] received everything.

2023-06-04 23:00:30 | [Mutex] isItemNotified: node_pj0xyc0208:subscribe_node:success :: true

2023-06-04 23:00:30 |


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


2023-06-04 23:00:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 23:00:30 | command: <data><node>node_pj0xyc0208</node><entry><content>content_g8rdty0209</content></entry></data>

2023-06-04 23:00:30 | target: http://localhost:8088

2023-06-04 23:00:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-04 23:00:30 | entity: <data><node>node_pj0xyc0208</node><entry><content>content_g8rdty0209</content></entry></data>

2023-06-04 23:00:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 06:00:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-04 23:00:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e5e9da26-4edf-44dd-b4a3-682900986cd9</value></item-id></result>

2023-06-04 23:00:30 | contains: true

2023-06-04 23:00:30 | [Mutex] received everything.

2023-06-04 23:00:30 | [Mutex] isItemNotified: user_regular9ufn2e0207@test-domain.com:message:received:content_g8rdty0209 :: true

2023-06-04 23:00:30 |


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


2023-06-04 23:00:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 23:00:30 | command: <data><node>node_pj0xyc0208</node><expire-at>2023-06-05T06:00:25Z</expire-at><entry><content>content_jl8xje0210</content></entry></data>

2023-06-04 23:00:30 | target: http://localhost:8088

2023-06-04 23:00:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-04 23:00:30 | entity: <data><node>node_pj0xyc0208</node><expire-at>2023-06-05T06:00:25Z</expire-at><entry><content>content_jl8xje0210</content></entry></data>

2023-06-04 23:00:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 06:00:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-04 23:00:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>108df27a-2f6f-47a5-a514-d14a7e6fd7c5</value></item-id></result>

2023-06-04 23:00:30 | contains: true

2023-06-04 23:00:30 | [Mutex] waiting for: [user_regular9ufn2e0207@test-domain.com:message:received:content_jl8xje0210]

2023-06-04 23:00:45 | [Mutex] timeout. Not received [user_regular9ufn2e0207@test-domain.com:message:received:content_jl8xje0210]

2023-06-04 23:00:45 | [Mutex] isItemNotified: user_regular9ufn2e0207@test-domain.com:message:received:content_jl8xje0210 :: false

2023-06-04 23:00:45 |


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


2023-06-04 23:00:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 23:00:45 | command: <data><node>node_pj0xyc0208</node><entry><content>content_wk7bwy0211</content></entry></data>

2023-06-04 23:00:45 | target: http://localhost:8088

2023-06-04 23:00:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-04 23:00:45 | entity: <data><node>node_pj0xyc0208</node><entry><content>content_wk7bwy0211</content></entry></data>

2023-06-04 23:00:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 06:00:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-04 23:00:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>97ca322f-381a-4926-a148-23e8b8e9409b</value></item-id></result>

2023-06-04 23:00:45 | contains: true

2023-06-04 23:00:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-06-04 23:00:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-06-04 23:00:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-06-04 23:00:50 | [Mutex] waiting for: [user_regular9ufn2e0207@test-domain.com:message:received:content_wk7bwy0211]

2023-06-04 23:00:50 | [Mutex] received everything.

2023-06-04 23:00:50 | [Mutex] isItemNotified: user_regular9ufn2e0207@test-domain.com:message:received:content_wk7bwy0211 :: true

2023-06-04 23:00:50 |


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


2023-06-04 23:00:50 | [Mutex] received everything.

2023-06-04 23:00:50 | [Mutex] isItemNotified: node_pj0xyc0208:subscribe_node:success :: true

2023-06-04 23:00:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 23:00:50 | command: <data><node>node_pj0xyc0208</node><expire-at>2023-06-05T06:00:55Z</expire-at><entry><content>content_sv37wt0212</content></entry></data>

2023-06-04 23:00:50 | target: http://localhost:8088

2023-06-04 23:00:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-04 23:00:50 | entity: <data><node>node_pj0xyc0208</node><expire-at>2023-06-05T06:00:55Z</expire-at><entry><content>content_sv37wt0212</content></entry></data>

2023-06-04 23:00:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 06:00:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-04 23:00:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cf30ca17-ecca-44a3-9596-2584e3b31aea</value></item-id></result>

2023-06-04 23:00:50 | contains: true

2023-06-04 23:00:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-06-04 23:00:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-06-04 23:00:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-06-04 23:00:59 | [Mutex] waiting for: [user_regular9ufn2e0207@test-domain.com:message:received:content_sv37wt0212]

2023-06-04 23:00:59 | [Mutex] waiting for: [user_regular9ufn2e0207@test-domain.com:message:received:content_sv37wt0212]

2023-06-04 23:01:14 | [Mutex] timeout. Not received [user_regular9ufn2e0207@test-domain.com:message:received:content_sv37wt0212]

2023-06-04 23:01:14 | [Mutex] received everything.

2023-06-04 23:01:14 | [Mutex] isItemNotified: user_regular9ufn2e0207@test-domain.com:message:received:content_sv37wt0212 :: false

2023-06-04 23:01:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sv37wt0212 :: true