Generated by TestNG with ReportNG at 22:38 PDT on Sunday 28 August 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.468s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.589s
2022-08-28 22:53:00 |

2022-08-28 22:53:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-28 22:53:00 | ------------------------------------

2022-08-28 22:53:00 | [Mutex] isItemNotified: node_gjmeju0204:exists :: false

2022-08-28 22:53:00 | [Mutex] waiting for: [node_gjmeju0204:create_node]

2022-08-28 22:53:00 | [Mutex] received everything.

2022-08-28 22:53:00 | [Mutex] isItemNotified: node_gjmeju0204:create_node:success :: true

2022-08-28 22:53:00 | [Mutex] waiting for: [node_gjmeju0204:subscribe_node]

2022-08-28 22:53:00 | [Mutex] waiting for: [node_gjmeju0204:subscribe_node]

2022-08-28 22:53:00 | [Mutex] received everything.

2022-08-28 22:53:00 | [Mutex] isItemNotified: node_gjmeju0204:subscribe_node:success :: true

2022-08-28 22:53:00 |


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


2022-08-28 22:53:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-28 22:53:00 | command: <data><node>node_gjmeju0204</node><entry><content>content_pfc2vy0205</content></entry></data>

2022-08-28 22:53:00 | target: http://localhost:8088

2022-08-28 22:53:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-28 22:53:00 | entity: <data><node>node_gjmeju0204</node><entry><content>content_pfc2vy0205</content></entry></data>

2022-08-28 22:53:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 05:53:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-28 22:53:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>616cb0a1-c268-4732-bad8-81c99b1e6070</value></item-id></result>

2022-08-28 22:53:00 | contains: true

2022-08-28 22:53:00 | [Mutex] waiting for: [user_regular3jl9ym0203@test-domain.com:message:received:content_pfc2vy0205]

2022-08-28 22:53:00 | [Mutex] received everything.

2022-08-28 22:53:00 | [Mutex] isItemNotified: user_regular3jl9ym0203@test-domain.com:message:received:content_pfc2vy0205 :: true

2022-08-28 22:53:00 |


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


2022-08-28 22:53:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-28 22:53:00 | command: <data><node>node_gjmeju0204</node><expire-at>2022-08-29T05:52:55Z</expire-at><entry><content>content_po5nzi0206</content></entry></data>

2022-08-28 22:53:00 | target: http://localhost:8088

2022-08-28 22:53:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-28 22:53:00 | entity: <data><node>node_gjmeju0204</node><expire-at>2022-08-29T05:52:55Z</expire-at><entry><content>content_po5nzi0206</content></entry></data>

2022-08-28 22:53:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 05:53:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-28 22:53:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>377559ff-fc0e-4e83-9370-f0b26795d318</value></item-id></result>

2022-08-28 22:53:00 | contains: true

2022-08-28 22:53:00 | [Mutex] waiting for: [user_regular3jl9ym0203@test-domain.com:message:received:content_po5nzi0206]

2022-08-28 22:53:15 | [Mutex] timeout. Not received [user_regular3jl9ym0203@test-domain.com:message:received:content_po5nzi0206]

2022-08-28 22:53:15 | [Mutex] isItemNotified: user_regular3jl9ym0203@test-domain.com:message:received:content_po5nzi0206 :: false

2022-08-28 22:53:15 |


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


2022-08-28 22:53:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-28 22:53:15 | command: <data><node>node_gjmeju0204</node><entry><content>content_jwwqov0207</content></entry></data>

2022-08-28 22:53:15 | target: http://localhost:8088

2022-08-28 22:53:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-28 22:53:15 | entity: <data><node>node_gjmeju0204</node><entry><content>content_jwwqov0207</content></entry></data>

2022-08-28 22:53:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 05:53:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-28 22:53:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b0d5658c-ec18-4f39-b9ab-fbccd260bd16</value></item-id></result>

2022-08-28 22:53:15 | contains: true

2022-08-28 22:53:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-28 22:53:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-28 22:53:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-28 22:53:20 | [Mutex] waiting for: [user_regular3jl9ym0203@test-domain.com:message:received:content_jwwqov0207]

2022-08-28 22:53:20 | [Mutex] received everything.

2022-08-28 22:53:20 | [Mutex] isItemNotified: user_regular3jl9ym0203@test-domain.com:message:received:content_jwwqov0207 :: true

2022-08-28 22:53:20 |


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


2022-08-28 22:53:20 | [Mutex] received everything.

2022-08-28 22:53:20 | [Mutex] isItemNotified: node_gjmeju0204:subscribe_node:success :: true

2022-08-28 22:53:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-28 22:53:20 | command: <data><node>node_gjmeju0204</node><expire-at>2022-08-29T05:53:25Z</expire-at><entry><content>content_kn49rj0208</content></entry></data>

2022-08-28 22:53:20 | target: http://localhost:8088

2022-08-28 22:53:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-28 22:53:20 | entity: <data><node>node_gjmeju0204</node><expire-at>2022-08-29T05:53:25Z</expire-at><entry><content>content_kn49rj0208</content></entry></data>

2022-08-28 22:53:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 05:53:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-28 22:53:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e6760ad2-0b16-4837-aef9-7c81b1cafea0</value></item-id></result>

2022-08-28 22:53:20 | contains: true

2022-08-28 22:53:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-28 22:53:29 | [Mutex] waiting for: [user_regular3jl9ym0203@test-domain.com:message:received:content_kn49rj0208]

2022-08-28 22:53:29 | [Mutex] waiting for: [user_regular3jl9ym0203@test-domain.com:message:received:content_kn49rj0208]

2022-08-28 22:53:44 | [Mutex] timeout. Not received [user_regular3jl9ym0203@test-domain.com:message:received:content_kn49rj0208]

2022-08-28 22:53:44 | [Mutex] received everything.

2022-08-28 22:53:44 | [Mutex] isItemNotified: user_regular3jl9ym0203@test-domain.com:message:received:content_kn49rj0208 :: false

2022-08-28 22:53:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kn49rj0208 :: true