Generated by TestNG with ReportNG at 22:52 PDT on Tuesday 09 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.822s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.633s
2022-08-09 23:07:50 |

2022-08-09 23:07:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-09 23:07:50 | ------------------------------------

2022-08-09 23:07:50 | [Mutex] isItemNotified: node_gmuynd0204:exists :: false

2022-08-09 23:07:50 | [Mutex] waiting for: [node_gmuynd0204:create_node]

2022-08-09 23:07:50 | [Mutex] received everything.

2022-08-09 23:07:50 | [Mutex] isItemNotified: node_gmuynd0204:create_node:success :: true

2022-08-09 23:07:50 | [Mutex] waiting for: [node_gmuynd0204:subscribe_node]

2022-08-09 23:07:50 | [Mutex] received everything.

2022-08-09 23:07:50 | [Mutex] isItemNotified: node_gmuynd0204:subscribe_node:success :: true

2022-08-09 23:07:50 |


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


2022-08-09 23:07:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 23:07:50 | command: <data><node>node_gmuynd0204</node><entry><content>content_hua1ya0205</content></entry></data>

2022-08-09 23:07:50 | target: http://localhost:8088

2022-08-09 23:07:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-09 23:07:50 | entity: <data><node>node_gmuynd0204</node><entry><content>content_hua1ya0205</content></entry></data>

2022-08-09 23:07:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:07:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 23:07:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8e244a79-fe7a-46b7-8b3b-e8390be15f30</value></item-id></result>

2022-08-09 23:07:50 | contains: true

2022-08-09 23:07:50 | [Mutex] received everything.

2022-08-09 23:07:50 | [Mutex] isItemNotified: user_regularbgxuxe0203@test-domain.com:message:received:content_hua1ya0205 :: true

2022-08-09 23:07:50 |


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


2022-08-09 23:07:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 23:07:50 | command: <data><node>node_gmuynd0204</node><expire-at>2022-08-10T06:07:45Z</expire-at><entry><content>content_2rrh9v0206</content></entry></data>

2022-08-09 23:07:50 | target: http://localhost:8088

2022-08-09 23:07:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-09 23:07:50 | entity: <data><node>node_gmuynd0204</node><expire-at>2022-08-10T06:07:45Z</expire-at><entry><content>content_2rrh9v0206</content></entry></data>

2022-08-09 23:07:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:07:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 23:07:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>96d4c6ce-845b-402f-a3f5-a9916516e53d</value></item-id></result>

2022-08-09 23:07:50 | contains: true

2022-08-09 23:07:50 | [Mutex] waiting for: [user_regularbgxuxe0203@test-domain.com:message:received:content_2rrh9v0206]

2022-08-09 23:08:05 | [Mutex] timeout. Not received [user_regularbgxuxe0203@test-domain.com:message:received:content_2rrh9v0206]

2022-08-09 23:08:05 | [Mutex] isItemNotified: user_regularbgxuxe0203@test-domain.com:message:received:content_2rrh9v0206 :: false

2022-08-09 23:08:05 |


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


2022-08-09 23:08:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 23:08:05 | command: <data><node>node_gmuynd0204</node><entry><content>content_rar8vq0207</content></entry></data>

2022-08-09 23:08:05 | target: http://localhost:8088

2022-08-09 23:08:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-09 23:08:05 | entity: <data><node>node_gmuynd0204</node><entry><content>content_rar8vq0207</content></entry></data>

2022-08-09 23:08:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:08:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 23:08:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f5a88cd7-c720-4841-a320-8f17f90b7b33</value></item-id></result>

2022-08-09 23:08:05 | contains: true

2022-08-09 23:08:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-08-09 23:08:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-09 23:08:10 | [Mutex] waiting for: [user_regularbgxuxe0203@test-domain.com:message:received:content_rar8vq0207]

2022-08-09 23:08:10 | [Mutex] waiting for: [user_regularbgxuxe0203@test-domain.com:message:received:content_rar8vq0207]

2022-08-09 23:08:10 | [Mutex] received everything.

2022-08-09 23:08:10 | [Mutex] isItemNotified: user_regularbgxuxe0203@test-domain.com:message:received:content_rar8vq0207 :: true

2022-08-09 23:08:10 |


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


2022-08-09 23:08:10 | [Mutex] received everything.

2022-08-09 23:08:10 | [Mutex] isItemNotified: node_gmuynd0204:subscribe_node:success :: true

2022-08-09 23:08:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 23:08:10 | command: <data><node>node_gmuynd0204</node><expire-at>2022-08-10T06:08:15Z</expire-at><entry><content>content_xcik9x0208</content></entry></data>

2022-08-09 23:08:10 | target: http://localhost:8088

2022-08-09 23:08:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-09 23:08:10 | entity: <data><node>node_gmuynd0204</node><expire-at>2022-08-10T06:08:15Z</expire-at><entry><content>content_xcik9x0208</content></entry></data>

2022-08-09 23:08:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:08:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 23:08:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1cff89f7-3f30-4bbd-83e7-d12cdab9ec41</value></item-id></result>

2022-08-09 23:08:10 | contains: true

2022-08-09 23:08:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-09 23:08:18 | [Mutex] waiting for: [user_regularbgxuxe0203@test-domain.com:message:received:content_xcik9x0208]

2022-08-09 23:08:33 | [Mutex] timeout. Not received [user_regularbgxuxe0203@test-domain.com:message:received:content_xcik9x0208]

2022-08-09 23:08:33 | [Mutex] received everything.

2022-08-09 23:08:33 | [Mutex] isItemNotified: user_regularbgxuxe0203@test-domain.com:message:received:content_xcik9x0208 :: false

2022-08-09 23:08:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xcik9x0208 :: true