jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: Not able to handle generated device token.
Date Wed, 27 May 2015 19:06:25 GMT


Am 26. Mai 2015 23:45:29 MESZ, schrieb Pravesh Prajapati <prajapati.pravesh@gmail.com>:
>Sir,
>I mean to say that the device token generated in my native app is
>device
>specific.
>how could I handle this.

That will depend on the algorithm to create such a token. I can't help you here, since I don't
know the algorithm used.

You might try to take the tokens you have already extracted. 

Regards
Felix 
>
>On Wednesday, May 27, 2015, Felix Schumacher <
>felix.schumacher@internetallee.de> wrote:
>
>> Am 26.05.2015 um 16:15 schrieb Pravesh Prajapati:
>>
>>> Sir,
>>> I have one query,
>>> https://android.clients.google.com/c2dm/register3
>>> refer request1.png for device regestration.
>>>
>> To which image do you refer?
>>
>> A quick google search for c2dm gives me the following warning:
>>
>> "I*mportant:* C2DM was officially deprecated on June 26, 2012, and
>will be
>> shut down completely as of July 30, 2015."
>>
>> If you really want to test C2DM you have to be quick :)
>>
>>
>>> https://api.gatherdigital.com/apps/1949/notification_registrations
>>> refer request2.png for generated token.
>>>
>>> should I apply above mentioned regular expression in 1st request &
>in
>>> second request.
>>>
>>> Sir,
>>> But the token generated for 3 scripts which I have created from
>Motorola
>>> device (android v5.0)
>>> is same for all three scripts.
>>> token generated :-
>>>
>>>
>{"device_token":"APA91bFDLyrJLbLY7zqrbNh-l7CJAKJqFbVSHsTWT7YGDNQV3HUl-OeMkEA5jV2TEvc5ZLJ9owrQvXimJ8gRAYPjl9gGrLWejVoZSL8aDPzbQ2oLhpvy2agPk8GZIfhMsIMwDFcTZ_cke-ic0yoR9EQ73ndQAkdh-w","platform":"android"}
>>> ----for Motorola device
>>>
>>>
>>> &
>>>
>>>  I have used another device to generate scripts nexus(android v5.0)
>>> is also same for all three scripts.
>>> token generated
>>>
>>>
>>>
>{"device_token":"APA91bFFxd8Ur8Hqv5GeatukSZH2i_6MiKfWhx5HJ1-nUvCvm9nXXAqd0ZnOmau2bvRn_4FQ8bhAPlKMrcEFhVqWvtdgB30oUATqBamL9PBvpS3UKskDeRhZ3soCY_xjImSLLwh5azXbK0WLYnSvC6GPVc4VoPSMQg","platform":"android"}
>>>
>>> --for nexus.
>>>
>>> This mean that generated token is device specific.
>>> but the token generated for the scripts have same token, but my
>scripts
>>> fails on that step.
>>> Please provide solution.
>>>
>> It is not clear to me, what you have done, or what you wanted to do.
>>
>> Could you explain it in a few words?
>>
>> Regards
>>  Felix
>>
>>
>>> Thanks in advance.
>>>
>>> On Tue, May 26, 2015 at 1:50 PM, ZK <stevesenior69@gmail.com
><mailto:
>>> stevesenior69@gmail.com>> wrote:
>>>
>>>     Hi,
>>>     try this:
>>>
>>>     "device_token"[^:]+:(.+?),"platform"
>>>
>>>
>>>
>>>     ZK
>>>
>>>
>>>
>>>     --
>>>     View this message in context:
>>>
>>>
>http://jmeter.512774.n5.nabble.com/Not-able-to-handle-generated-device-token-tp5722512p5722516.html
>>>     Sent from the JMeter - User mailing list archive at Nabble.com.
>>>
>>>    
>---------------------------------------------------------------------
>>>     To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>>>     <mailto:user-unsubscribe@jmeter.apache.org>
>>>     For additional commands, e-mail: user-help@jmeter.apache.org
>>>     <mailto:user-help@jmeter.apache.org>
>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Pravesh prajapati.
>>> Mob:-9702600170
>>>
>>>
>>>
>---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>>> For additional commands, e-mail: user-help@jmeter.apache.org
>>>
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message