https://www.growthbook.io/ logo
#announcements
Title
# announcements
g

gorgeous-toddler-76645

08/04/2023, 4:59 AM
Hi team. Im trying to test the UI based on the experiment result. I've updated the result to a specific value using the dev tool but it doesn't seems to work. Was something I missed out ? Many thanks.
f

fresh-football-47124

08/04/2023, 6:12 AM
just so I understand, you’re running and experiment and want to use the dev tools to debug ?
g

gorgeous-toddler-76645

08/07/2023, 12:00 AM
yeb. but it didn't work for me
f

fresh-football-47124

08/08/2023, 7:04 AM
Can you share the feature payload?
g

gorgeous-toddler-76645

08/08/2023, 11:26 PM
Sure. Thank you!
f

fresh-football-47124

08/08/2023, 11:27 PM
what is the full JSON payload?
g

gorgeous-toddler-76645

08/08/2023, 11:29 PM
Im sorry. Not quite following, would you tell me where to find it ?
f

fresh-football-47124

08/08/2023, 11:29 PM
you can get it directly from the SDK payload url, or by inspecting the network tab in devtools
g

gorgeous-toddler-76645

08/08/2023, 11:32 PM
Okay
Seems the payload is not there
f

fresh-football-47124

08/08/2023, 11:34 PM
you can go to response, or go to GrowthBook -> SDK Connections and grab the URL
g

gorgeous-toddler-76645

08/08/2023, 11:35 PM
yeb
f

fresh-football-47124

08/08/2023, 11:35 PM
okay
that seems right
and it seems to be working…
you were assigned variation 0
for one of them
g

gorgeous-toddler-76645

08/08/2023, 11:37 PM
Was is because I used the dev tool incorrectly ?
f

fresh-football-47124

08/08/2023, 11:37 PM
you want to test the otherside of the experiment?
g

gorgeous-toddler-76645

08/08/2023, 11:38 PM
yeb
Im wondering if the api will get called again once I updated the experiment result with devtool?
f

fresh-football-47124

08/08/2023, 11:42 PM
I dont think so
you can toggle the experiment assignment to see
g

gorgeous-toddler-76645

08/08/2023, 11:48 PM
yeb, it didn't call the api again which is correct. Just to confirm that do we only need to update the experiments here ?
f

fresh-football-47124

08/08/2023, 11:53 PM
You can click there to switch cases, yes
g

gorgeous-toddler-76645

08/09/2023, 12:02 AM
weird. I was trying to debug the api call with correct params based on the experiment result. So i switched the cases also refresh the page
8 Views